[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#68312] [PATCH 142/156] gnu: Add rust-tungstenite-0.20.
From: |
Wilko Meyer |
Subject: |
[bug#68312] [PATCH 142/156] gnu: Add rust-tungstenite-0.20. |
Date: |
Mon, 8 Jan 2024 02:53:59 +0100 |
* gnu/packages/crates-io.scm (rust-tungstenite-0.20): New variable.
(rust-tungstenite-0.19): Inherit from rust-tungstenite-0.20.
Change-Id: I73c034a3d008c32d0156fce9d201338f1386182e
---
gnu/packages/crates-io.scm | 52 ++++++++++++++++++++++++++++++--------
1 file changed, 41 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cee7f4877f8..5ccd7ef0b66 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -81660,8 +81660,48 @@ (define-public rust-tuikit-0.2
#:cargo-development-inputs
(("rust-env-logger" ,rust-env-logger-0.6))))))
+(define-public rust-tungstenite-0.20
+ (package
+ (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"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #: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))))
+ (home-page "https://github.com/snapview/tungstenite-rs")
+ (synopsis "Lightweight stream-based WebSocket implementation")
+ (description
+ "This library provides an implementation of WebSockets, RFC6455. It
+allows for both synchronous (like TcpStream) and asynchronous usage and is
+easy to integrate into any third-party event loops including MIO. The API
+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.19
(package
+ (inherit rust-tungstenite-0.20)
(name "rust-tungstenite")
(version "0.19.0")
(source
@@ -81671,7 +81711,6 @@ (define-public rust-tungstenite-0.19
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0rxzxg4y22rsvdvs4la7igy9117yidc2m6lsfm2hf0xvsska3yqm"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-byteorder" ,rust-byteorder-1)
@@ -81695,16 +81734,7 @@ (define-public rust-tungstenite-0.19
("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))))
- (home-page "https://github.com/snapview/tungstenite-rs")
- (synopsis "Lightweight stream-based WebSocket implementation")
- (description
- "This library provides an implementation of WebSockets, RFC6455. It
-allows for both synchronous (like TcpStream) and asynchronous usage and is
-easy to integrate into any third-party event loops including MIO. The API
-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))))
+ ("rust-rand" ,rust-rand-0.8))))))
(define-public rust-tungstenite-0.11
(package
--
2.41.0
- [bug#68312] [PATCH 130/156] gnu: rust-subtle-2: Update to 2.5.0., (continued)
- [bug#68312] [PATCH 130/156] gnu: rust-subtle-2: Update to 2.5.0., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 134/156] gnu: Add rust-termwiz-0.20., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 085/156] gnu: rust-mime-0.3: Update to 0.3.17., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 102/156] gnu: Add rust-prost-types-0.11., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 117/156] gnu: rust-signature-derive-1: Update to 1.0.0-pre.7., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 131/156] gnu: rust-syn-2: Update to 2.0.48., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 129/156] gnu: Add rust-state-0.6., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 137/156] gnu: Add rust-tower-http-0.4., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 138/156] gnu: Add rust-tracing-log-0.2., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 140/156] gnu: Add rust-tree-magic-db-3., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 142/156] gnu: Add rust-tungstenite-0.20.,
Wilko Meyer <=
- [bug#68312] [PATCH 143/156] gnu: Add rust-type-builder-macro-0.18., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 144/156] gnu: Add rust-type-builder-0.18., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 146/156] gnu: Add rust-urlencoding-2., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 148/156] gnu: Add rust-vtparse-0.6., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 141/156] gnu: Add rust-tree-magic-mini-3., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 145/156] gnu: rust-universal-hash-0.5: Update to 0.5.1., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 151/156] gnu: Add rust-wezterm-dynamic-derive-0.1., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 149/156] gnu: Add rust-wl-clipboard-rs-0.7., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 153/156] gnu: Add rust-wezterm-bidi-0.2., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 147/156] gnu: Add rust-vt100-0.15., Wilko Meyer, 2024/01/07