@@ -77323,6 +77323,42 @@ (define-public rust-tokio-trace-core-0.2
(description "Core primitives for tokio-trace.")
(license license:expat)))
+(define-public rust-tokio-tungstenite-0.21
+ (package
+ (name "rust-tokio-tungstenite")
+ (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 "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.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.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)
+ ("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)))
+
(define-public rust-tokio-tungstenite-0.19
(package
(name "rust-tokio-tungstenite")