[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
21/63: gnu: Add rust-tokio-tungstenite-0.20.
From: |
guix-commits |
Subject: |
21/63: gnu: Add rust-tokio-tungstenite-0.20. |
Date: |
Thu, 8 Feb 2024 14:09:30 -0500 (EST) |
efraim pushed a commit to branch rust-team
in repository guix.
commit c9118bcfac43cc33df99cf10d0adb6308bf3f50f
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Feb 7 16:55:20 2024 +0200
gnu: Add rust-tokio-tungstenite-0.20.
* gnu/packages/crates-io.scm (rust-tokio-tungstenite-0.20): New variable.
(rust-tokio-tungstenite-0.19): Inherit from rust-tokio-tungstenite-0.20.
Change-Id: If79f6ff2afff609aa4b7cb70e8597ec45f5e63a2
---
gnu/packages/crates-io.scm | 45 +++++++++++++++++++++++++++++++++++++--------
1 file changed, 37 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e51ada701c..c1ce26ce82 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -69969,8 +69969,44 @@ implementation of TLS for nonblocking I/O streams.")
("rust-security-framework" ,rust-security-framework-0.2)
("rust-tokio" ,rust-tokio-0.1))))))
+(define-public rust-tokio-tungstenite-0.20
+ (package
+ (name "rust-tokio-tungstenite")
+ (version "0.20.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tokio-tungstenite" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0v1v24l27hxi5hlchs7hfd5rgzi167x0ygbw220nvq0w5b5msb91"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-native-tls" ,rust-native-tls-0.2)
+ ("rust-rustls" ,rust-rustls-0.21)
+ ("rust-rustls-native-certs"
,rust-rustls-native-certs-0.6)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tokio-native-tls" ,rust-tokio-native-tls-0.3)
+ ("rust-tokio-rustls" ,rust-tokio-rustls-0.24)
+ ("rust-tungstenite" ,rust-tungstenite-0.20)
+ ("rust-webpki-roots" ,rust-webpki-roots-0.25))
+ #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.10)
+ ("rust-futures-channel"
,rust-futures-channel-0.3)
+ ("rust-hyper" ,rust-hyper-0.14)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-url" ,rust-url-2))))
+ (home-page "https://github.com/snapview/tokio-tungstenite")
+ (synopsis "Tokio binding for Tungstenite")
+ (description
+ "This package provides Tokio binding for Tungstenite, the lightweight
+stream-based @code{WebSocket} implementation.")
+ (license license:expat)))
+
(define-public rust-tokio-tungstenite-0.19
(package
+ (inherit rust-tokio-tungstenite-0.20)
(name "rust-tokio-tungstenite")
(version "0.19.0")
(source
@@ -69980,7 +70016,6 @@ implementation of TLS for nonblocking I/O streams.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0b5iqjsprll88912jqb36xbjcflmgl907w3lgi14634sdv4rll7c"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-futures-util" ,rust-futures-util-0.3)
@@ -69998,13 +70033,7 @@ implementation of TLS for nonblocking I/O streams.")
("rust-futures-channel", rust-futures-channel-0.3)
("rust-hyper" ,rust-hyper-0.14)
("rust-tokio" ,rust-tokio-1)
- ("rust-url" ,rust-url-2))))
- (home-page "https://github.com/snapview/tokio-tungstenite")
- (synopsis "Tokio binding for Tungstenite")
- (description
- "This package provides Tokio binding for Tungstenite, the lightweight
-stream-based WebSocket implementation.")
- (license license:expat)))
+ ("rust-url" ,rust-url-2))))))
(define-public rust-tokio-tungstenite-0.11
(package
- 14/63: gnu: Add rust-rustls-0.22., (continued)
- 14/63: gnu: Add rust-rustls-0.22., guix-commits, 2024/02/08
- 15/63: gnu: Add rust-webpki-roots-0.26., guix-commits, 2024/02/08
- 16/63: gnu: rust-x509-parser-0.15: Update to 0.15.1., guix-commits, 2024/02/08
- 04/63: gnu: rust-trybuild-1: Update to 1.0.89., guix-commits, 2024/02/08
- 13/63: gnu: Add rust-rustls-webpki-0.102., guix-commits, 2024/02/08
- 10/63: gnu: Add rust-aws-lc-rs-1., guix-commits, 2024/02/08
- 11/63: gnu: Add rust-rcgen-0.12., guix-commits, 2024/02/08
- 18/63: gnu: rust-csv-core-0.1: Update to 0.1.11., guix-commits, 2024/02/08
- 17/63: gnu: Add rust-tokio-rustls-0.25., guix-commits, 2024/02/08
- 19/63: gnu: rust-csv-1: Update to 1.3.0., guix-commits, 2024/02/08
- 21/63: gnu: Add rust-tokio-tungstenite-0.20.,
guix-commits <=
- 22/63: gnu: rust-webpki-roots-0.25: Update to 0.25.4., guix-commits, 2024/02/08
- 23/63: gnu: rbw: Update to 1.9.0., guix-commits, 2024/02/08
- 24/63: gnu: rust-arg-enum-proc-macro-0.3: Update to 0.3.4., guix-commits, 2024/02/08
- 20/63: gnu: Add rust-tungstenite-0.20., guix-commits, 2024/02/08
- 25/63: gnu: Add rust-bitstream-io-2., guix-commits, 2024/02/08
- 26/63: gnu: Add rust-built-0.7., guix-commits, 2024/02/08
- 28/63: gnu: rust-interpolate-name-0.2: Update to 0.2.4., guix-commits, 2024/02/08
- 27/63: gnu: Add rust-cargo-lock-9., guix-commits, 2024/02/08
- 29/63: gnu: rust-js-sys-0.3: Update to 0.3.68., guix-commits, 2024/02/08
- 30/63: gnu: Add rust-libfuzzer-sys-0.4., guix-commits, 2024/02/08