diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-12-25 21:34:46 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2025-01-06 12:19:17 +0200 |
commit | 52bb8e278e805742fa4c59218d59bbe81caab5e9 (patch) | |
tree | ab328876359b412b757a42b2325762114573abff /gnu/packages/crates-web.scm | |
parent | 6a604cef3aa3834142d562d0095115a77aa3170f (diff) |
gnu: Add rust-tungstenite-0.23.
* gnu/packages/crates-web.scm (rust-tungstenite-0.23): New variable.
Change-Id: I6ee7ceaa573bca759b1bcc406ce9eca5dc8a9e5d
Diffstat (limited to 'gnu/packages/crates-web.scm')
-rw-r--r-- | gnu/packages/crates-web.scm | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index a966080254..9c44c58547 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -7822,6 +7822,43 @@ 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.23 + (package + (inherit rust-tungstenite-0.24) + (name "rust-tungstenite") + (version "0.23.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tungstenite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1j6rxlcdky8lrwkl1qsyvnmlr38033vch11vsi7rklkywkhjqbkf")))) + (arguments + (list #:cargo-inputs + (list rust-byteorder-1 + rust-bytes-1 + rust-data-encoding-2 + rust-http-1 + rust-httparse-1 + rust-log-0.4 + rust-native-tls-0.2 + rust-rand-0.8 + rust-rustls-0.23 + rust-rustls-native-certs-0.7 + rust-rustls-pki-types-1 + rust-sha1-0.10 + rust-thiserror-1 + rust-url-2 + rust-utf-8-0.7 + rust-webpki-roots-0.26) + #:cargo-development-inputs + (list rust-criterion-0.5 + rust-env-logger-0.10 + rust-input-buffer-0.5 + rust-rand-0.8 + rust-socket2-0.5))))) + (define-public rust-tungstenite-0.21 (package (inherit rust-tungstenite-0.24) |