[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
16/25: gnu: rust-tungstenite: Move to (gnu packages crates-web).
From: |
guix-commits |
Subject: |
16/25: gnu: rust-tungstenite: Move to (gnu packages crates-web). |
Date: |
Thu, 25 Jan 2024 04:55:49 -0500 (EST) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 159b6193328d73f015cc88d06a36eb33a3e0b6f3
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Jan 24 11:22:34 2024 +0200
gnu: rust-tungstenite: Move to (gnu packages crates-web).
* gnu/packages/crates-io.scm (rust-tungstenite-0.19,
rust-tungstenite-0.11): Move from here ...
* gnu/packages/crates-web.scm: ... to here.
Change-Id: I21e426a3d03a5865efe704b75ee4e14873636462
---
gnu/packages/crates-io.scm | 74 ---------------------------------------------
gnu/packages/crates-web.scm | 74 +++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 74 insertions(+), 74 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4fb65dd9ab..f0b0fbea65 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -71833,80 +71833,6 @@ 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
- (origin
- (method url-fetch)
- (uri (crate-uri "tungstenite" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "08ra94x3zqkmbsrcmwszknxv2a8g08gk5xlyif3wa037v208sc7h"))))
- (arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-base64" ,rust-base64-0.12)
- ("rust-byteorder" ,rust-byteorder-1)
- ("rust-bytes" ,rust-bytes-0.5)
- ("rust-http" ,rust-http-0.2)
- ("rust-httparse" ,rust-httparse-1)
- ("rust-input-buffer" ,rust-input-buffer-0.3)
- ("rust-log" ,rust-log-0.4)
- ("rust-native-tls" ,rust-native-tls-0.2)
- ("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))))))
-
(define-public rust-twoway-0.2
(package
(name "rust-twoway")
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 3d79f4f13c..b4bc5efacb 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -4343,6 +4343,80 @@ 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.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
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tungstenite" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "08ra94x3zqkmbsrcmwszknxv2a8g08gk5xlyif3wa037v208sc7h"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-base64" ,rust-base64-0.12)
+ ("rust-byteorder" ,rust-byteorder-1)
+ ("rust-bytes" ,rust-bytes-0.5)
+ ("rust-http" ,rust-http-0.2)
+ ("rust-httparse" ,rust-httparse-1)
+ ("rust-input-buffer" ,rust-input-buffer-0.3)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-native-tls" ,rust-native-tls-0.2)
+ ("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))))))
+
(define-public rust-warp-0.2
(package
(name "rust-warp")
- 24/25: gnu: rust: Update supported-systems., (continued)
- 24/25: gnu: rust: Update supported-systems., guix-commits, 2024/01/25
- 15/25: gnu: rust-tower: Move to (gnu packages crates-web)., guix-commits, 2024/01/25
- 01/25: gnu: git-absorb: Update to 0.6.11., guix-commits, 2024/01/25
- 02/25: gnu: rust-bitvec-0.19: Update to 0.19.6., guix-commits, 2024/01/25
- 05/25: gnu: rust-concurrent-queue-2: Update to 2.4.0., guix-commits, 2024/01/25
- 06/25: gnu: rust-http: Move to (gnu packages crates-web)., guix-commits, 2024/01/25
- 08/25: gnu: rust-httparse-1: Move to (gnu packages crates-web)., guix-commits, 2024/01/25
- 12/25: gnu: rust-reqwest: Move to (gnu packages crates-web)., guix-commits, 2024/01/25
- 13/25: gnu: rust-surf-2: Move to (gnu packages crates-web)., guix-commits, 2024/01/25
- 14/25: gnu: rust-tiny-http: Move to (gnu packages crates-web)., guix-commits, 2024/01/25
- 16/25: gnu: rust-tungstenite: Move to (gnu packages crates-web).,
guix-commits <=
- 18/25: gnu: rust-async-h1-2: Move to (gnu packages crates-web)., guix-commits, 2024/01/25
- 20/25: gnu: rust-tonic-0.6: Move to (gnu packages crates-web)., guix-commits, 2024/01/25
- 21/25: gnu: rust-chunked-transfer: Move to (gnu packages crates-web)., guix-commits, 2024/01/25
- 10/25: gnu: rust-isahc-0.9: Don't skip the build., guix-commits, 2024/01/25
- 11/25: gnu: rust-multipart: Move to (gnu packages crates-web)., guix-commits, 2024/01/25
- 22/25: gnu: rust-stdweb: Move to (gnu packages crates-web)., guix-commits, 2024/01/25
- 23/25: gnu: rust: Fix building on riscv64-linux., guix-commits, 2024/01/25
- 25/25: gnu: rust-bootstrap: Update supported-systems., guix-commits, 2024/01/25