[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
279/330: gnu: Add rust-tungstenite-0.21.
From: |
guix-commits |
Subject: |
279/330: gnu: Add rust-tungstenite-0.21. |
Date: |
Mon, 18 Mar 2024 07:16:36 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 5600ee18889ac7cc77909a0253b64fefdd7c8803
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Mar 18 11:45:32 2024 +0200
gnu: Add rust-tungstenite-0.21.
* gnu/packages/crates-web.scm (rust-tungstenite-0.21): New variable.
(rust-tungstenite-0.20): Inherit from rust-tungstenite-0.21.
Change-Id: I03a43803ecb77a529989a666aa9c8ab98d5f04d1
---
gnu/packages/crates-web.scm | 53 +++++++++++++++++++++++++++++++++++++--------
1 file changed, 44 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index ca13af85c7..fd7bf3a386 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -6165,39 +6165,40 @@ the Trust-DNS client to use rustls for TLS.")
(("rust-openssl" ,rust-openssl-0.10)
("rust-tokio" ,rust-tokio-0.1))))))
-(define-public rust-tungstenite-0.20
+(define-public rust-tungstenite-0.21
(package
(name "rust-tungstenite")
- (version "0.20.1")
+ (version "0.21.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "tungstenite" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1fbgcv3h4h1bhhf5sqbwqsp7jnc44bi4m41sgmhzdsk2zl8aqgcy"))))
+ (base32 "1qaphb5kgwgid19p64grhv2b9kxy7f1059yy92l9kwrlx90sdwcy"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1)
("rust-bytes" ,rust-bytes-1)
("rust-data-encoding" ,rust-data-encoding-2)
- ("rust-http" ,rust-http-0.2)
+ ("rust-http" ,rust-http-1)
("rust-httparse" ,rust-httparse-1)
("rust-log" ,rust-log-0.4)
("rust-native-tls" ,rust-native-tls-0.2)
("rust-rand" ,rust-rand-0.8)
- ("rust-rustls" ,rust-rustls-0.21)
- ("rust-rustls-native-certs"
,rust-rustls-native-certs-0.6)
+ ("rust-rustls" ,rust-rustls-0.22)
+ ("rust-rustls-native-certs"
,rust-rustls-native-certs-0.7)
+ ("rust-rustls-pki-types" ,rust-rustls-pki-types-1)
("rust-sha1" ,rust-sha1-0.10)
("rust-thiserror" ,rust-thiserror-1)
("rust-url" ,rust-url-2)
("rust-utf-8" ,rust-utf-8-0.7)
- ("rust-webpki-roots" ,rust-webpki-roots-0.24))
+ ("rust-webpki-roots" ,rust-webpki-roots-0.26))
#:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5)
("rust-env-logger" ,rust-env-logger-0.10)
("rust-input-buffer" ,rust-input-buffer-0.5)
- ("rust-net2" ,rust-net2-0.2)
- ("rust-rand" ,rust-rand-0.8))))
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-socket2" ,rust-socket2-0.5))))
(home-page "https://github.com/snapview/tungstenite-rs")
(synopsis "Lightweight stream-based WebSocket implementation")
(description
@@ -6208,6 +6209,40 @@ design abstracts away all the internals of the WebSocket
protocol but still
makes them accessible for those who wants full control over the network.")
(license (list license:expat license:asl2.0))))
+(define-public rust-tungstenite-0.20
+ (package
+ (inherit rust-tungstenite-0.21)
+ (name "rust-tungstenite")
+ (version "0.20.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tungstenite" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1fbgcv3h4h1bhhf5sqbwqsp7jnc44bi4m41sgmhzdsk2zl8aqgcy"))))
+ (arguments
+ `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1)
+ ("rust-bytes" ,rust-bytes-1)
+ ("rust-data-encoding" ,rust-data-encoding-2)
+ ("rust-http" ,rust-http-0.2)
+ ("rust-httparse" ,rust-httparse-1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-native-tls" ,rust-native-tls-0.2)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-rustls" ,rust-rustls-0.21)
+ ("rust-rustls-native-certs"
,rust-rustls-native-certs-0.6)
+ ("rust-sha1" ,rust-sha1-0.10)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-url" ,rust-url-2)
+ ("rust-utf-8" ,rust-utf-8-0.7)
+ ("rust-webpki-roots" ,rust-webpki-roots-0.24))
+ #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5)
+ ("rust-env-logger" ,rust-env-logger-0.10)
+ ("rust-input-buffer" ,rust-input-buffer-0.5)
+ ("rust-net2" ,rust-net2-0.2)
+ ("rust-rand" ,rust-rand-0.8))))))
+
(define-public rust-tungstenite-0.19
(package
(inherit rust-tungstenite-0.20)
- 197/330: gnu: Add rust-pnet-datalink-0.34., (continued)
- 197/330: gnu: Add rust-pnet-datalink-0.34., guix-commits, 2024/03/18
- 257/330: gnu: Add rust-pear-0.2., guix-commits, 2024/03/18
- 258/330: gnu: Add rust-proc-quote-impl-0.3., guix-commits, 2024/03/18
- 259/330: gnu: Add rust-rhai-codegen-2., guix-commits, 2024/03/18
- 261/330: gnu: Add rust-rustyline-13., guix-commits, 2024/03/18
- 262/330: gnu: Add rust-state-0.6., guix-commits, 2024/03/18
- 268/330: gnu: Add rust-actix-server-2., guix-commits, 2024/03/18
- 269/330: gnu: Add rust-actix-service-2., guix-commits, 2024/03/18
- 265/330: gnu: Add rust-actix-codec-0.5., guix-commits, 2024/03/18
- 275/330: gnu: Add rust-headers-0.4., guix-commits, 2024/03/18
- 279/330: gnu: Add rust-tungstenite-0.21.,
guix-commits <=
- 272/330: gnu: Add rust-actix-web-4., guix-commits, 2024/03/18
- 271/330: gnu: Add rust-actix-utils-3., guix-commits, 2024/03/18
- 274/330: gnu: rust-h2-0.3: Update to 0.3.25., guix-commits, 2024/03/18
- 280/330: gnu: Add rust-rust-embed-utils-8., guix-commits, 2024/03/18
- 283/330: gnu: Add rust-axum-0.7., guix-commits, 2024/03/18
- 287/330: gnu: Add rust-rocket-0.5., guix-commits, 2024/03/18
- 281/330: gnu: Add rust-rust-embed-8., guix-commits, 2024/03/18
- 292/330: gnu: Add rust-jsonwebtoken-7., guix-commits, 2024/03/18
- 291/330: gnu: Add rust-rfc7239-0.1., guix-commits, 2024/03/18
- 294/330: gnu: Add rust-wildmatch-2., guix-commits, 2024/03/18