guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

264/330: gnu: Add rust-tokio-tungstenite-0.21.


From: guix-commits
Subject: 264/330: gnu: Add rust-tokio-tungstenite-0.21.
Date: Mon, 18 Mar 2024 07:16:33 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit a982b70b54fe93cec11df061993df9d3b705ca99
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Mar 18 11:37:09 2024 +0200

    gnu: Add rust-tokio-tungstenite-0.21.
    
    * gnu/packages/crates-io.scm (rust-tokio-tungstenite-0.21): New variable.
    (rust-tokio-tungstenite-0.20): Inherit from rust-tokio-tungstenite-0.21.
    
    Change-Id: Iaccb47c774ad1c64aacdfefdfc05886f48e35b88
---
 gnu/packages/crates-io.scm | 46 ++++++++++++++++++++++++++++++++++++++--------
 1 file changed, 38 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e01e1e0672..b3f4f15880 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -76917,29 +76917,30 @@ 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
+(define-public rust-tokio-tungstenite-0.21
   (package
     (name "rust-tokio-tungstenite")
-    (version "0.20.1")
+    (version "0.21.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "tokio-tungstenite" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0v1v24l27hxi5hlchs7hfd5rgzi167x0ygbw220nvq0w5b5msb91"))))
+        (base32 "0f5wj0crsx74rlll97lhw0wk6y12nhdnqvmnjx002hjn08fmcfy8"))))
     (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-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-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))
+                       ("rust-tokio-rustls" ,rust-tokio-rustls-0.25)
+                       ("rust-tungstenite" ,rust-tungstenite-0.21)
+                       ("rust-webpki-roots" ,rust-webpki-roots-0.26))
        #: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)
@@ -76952,6 +76953,35 @@ implementation of TLS for nonblocking I/O streams.")
 stream-based @code{WebSocket} implementation.")
     (license license:expat)))
 
+(define-public rust-tokio-tungstenite-0.20
+  (package
+    (inherit rust-tokio-tungstenite-0.21)
+    (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"))))
+    (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))))))
+
 (define-public rust-tokio-tungstenite-0.19
   (package
     (inherit rust-tokio-tungstenite-0.20)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]