[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
82/137: gnu: Add rust-tungstenite-0.19.
From: |
guix-commits |
Subject: |
82/137: gnu: Add rust-tungstenite-0.19. |
Date: |
Thu, 21 Dec 2023 04:26:28 -0500 (EST) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 65f66c3182671691fb0eab8b185907b848295b4c
Author: VÖRÖSKŐI András <voroskoi@gmail.com>
AuthorDate: Sat Nov 11 16:35:32 2023 +0100
gnu: Add rust-tungstenite-0.19.
* gnu/packages/crates-io.scm (rust-tungstenite-0.19): New variable.
(rust-tungstenite-0.11): Inherit from rust-tungstenite-0.19.
Change-Id: Ie65bb3ad45991caeda1831bbcdfb07461bcab41e
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/crates-io.scm | 59 +++++++++++++++++++++++++++++++++++++---------
1 file changed, 48 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2c6ad01cc2..b6fdc0f900 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -84599,8 +84599,55 @@ render properties.")
#:cargo-development-inputs
(("rust-env-logger" ,rust-env-logger-0.6))))))
+(define-public rust-tungstenite-0.19
+ (package
+ (name "rust-tungstenite")
+ (version "0.19.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tungstenite" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0rxzxg4y22rsvdvs4la7igy9117yidc2m6lsfm2hf0xvsska3yqm"))))
+ (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-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" ,rust-webpki-0.22)
+ ("rust-webpki-roots" ,rust-webpki-roots-0.23))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.4)
+ ("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))))
+
(define-public rust-tungstenite-0.11
(package
+ (inherit rust-tungstenite-0.19)
(name "rust-tungstenite")
(version "0.11.1")
(source
@@ -84610,7 +84657,6 @@ render properties.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "08ra94x3zqkmbsrcmwszknxv2a8g08gk5xlyif3wa037v208sc7h"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -84625,16 +84671,7 @@ render properties.")
("rust-rand" ,rust-rand-0.7)
("rust-sha-1" ,rust-sha-1-0.9)
("rust-url" ,rust-url-2)
- ("rust-utf-8" ,rust-utf-8-0.7))))
- (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-utf-8" ,rust-utf-8-0.7))))))
(define-public rust-twofish-0.7
(package
- 109/137: gnu: rust-sha2-0.9: Update to 0.9.9., (continued)
- 109/137: gnu: rust-sha2-0.9: Update to 0.9.9., guix-commits, 2023/12/21
- 122/137: gnu: Add rust-h3-quinn-0.0.4., guix-commits, 2023/12/21
- 124/137: gnu: Add rust-enum-as-inner-0.6., guix-commits, 2023/12/21
- 132/137: gnu: Add rust-async-compression-0.4., guix-commits, 2023/12/21
- 32/137: gnu: Add rust-wmi-0.12., guix-commits, 2023/12/21
- 52/137: gnu: Add rust-pciid-parser-0.6., guix-commits, 2023/12/21
- 53/137: gnu: Add rust-os-release-0.1., guix-commits, 2023/12/21
- 62/137: gnu: rust-cpufeatures-0.2: Update to 0.2.11., guix-commits, 2023/12/21
- 67/137: gnu: Add rust-borsh-derive-0.10., guix-commits, 2023/12/21
- 78/137: gnu: rust-pbkdf2-0.12: Update to 0.12.2., guix-commits, 2023/12/21
- 82/137: gnu: Add rust-tungstenite-0.19.,
guix-commits <=
- 86/137: gnu: Add rust-pcap-0.7., guix-commits, 2023/12/21
- 93/137: gnu: rust-uuid-macro-internal-1: Update to 1.6.1., guix-commits, 2023/12/21
- 97/137: gnu: Add rust-x509-parser-0.14., guix-commits, 2023/12/21
- 103/137: gnu: rust-tracing-attributes-0.1: Update to 0.1.27., guix-commits, 2023/12/21
- 105/137: gnu: rust-tokio-util-0.7: Update to 0.7.10., guix-commits, 2023/12/21
- 114/137: gnu: Add rust-quinn-proto-0.10., guix-commits, 2023/12/21
- 108/137: gnu: Add rust-spki-0.5., guix-commits, 2023/12/21
- 115/137: gnu: Add rust-quinn-0.10., guix-commits, 2023/12/21
- 130/137: gnu: Add rust-crc-3., guix-commits, 2023/12/21
- 134/137: gnu: rbw: Update to 1.8.3., guix-commits, 2023/12/21