[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#69257] [PATCH 057/228] gnu: Add rust-hyper-1.
From: |
Herman Rimm |
Subject: |
[bug#69257] [PATCH 057/228] gnu: Add rust-hyper-1. |
Date: |
Sun, 18 Feb 2024 22:02:55 +0100 |
* gnu/packages/crates-web.scm (rust-hyper-1): Add variable.
(rust-hyper-0.14): Inherit rust-hyper-1.
Change-Id: I4a803247155cae29dab9e9d4bcf915196d8ee31f
---
gnu/packages/crates-web.scm | 50 +++++++++++++++++++++++++++++++++----
1 file changed, 45 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index fe2693b208..a35f0b8c25 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -2559,8 +2559,52 @@ (define-public rust-httpdate-1
"This crates parses and formats HTTP datetime strings.")
(license (list license:expat license:asl2.0))))
+(define-public rust-hyper-1
+ (package
+ (name "rust-hyper")
+ (version "1.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "hyper" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0xgv4bjm78w50wp2rcxc4dg69nw6blx6hyyqkqd7p4gwf4waanpv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1)
+ ("rust-futures-channel" ,rust-futures-channel-0.3)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-h2" ,rust-h2-0.4)
+ ("rust-http" ,rust-http-1)
+ ("rust-http-body" ,rust-http-body-1)
+ ("rust-http-body-util" ,rust-http-body-util-0.1)
+ ("rust-httparse" ,rust-httparse-1)
+ ("rust-httpdate" ,rust-httpdate-1)
+ ("rust-itoa" ,rust-itoa-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-want" ,rust-want-0.3))
+ #:cargo-development-inputs
+ (("rust-form-urlencoded" ,rust-form-urlencoded-1)
+ ("rust-http-body-util" ,rust-http-body-util-0.1)
+ ("rust-pretty-env-logger" ,rust-pretty-env-logger-0.5)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-spmc" ,rust-spmc-0.3)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tokio-test" ,rust-tokio-test-0.4)
+ ("rust-tokio-util" ,rust-tokio-util-0.7))))
+ (home-page "https://hyper.rs")
+ (synopsis "Fast and correct HTTP library")
+ (description "This package provides a fast and correct HTTP library.")
+ (license license:expat)))
+
(define-public rust-hyper-0.14
(package
+ (inherit rust-hyper-1)
(name "rust-hyper")
(version "0.14.27")
(source
@@ -2603,11 +2647,7 @@ (define-public rust-hyper-0.14
("rust-tokio-test" ,rust-tokio-test-0.4)
("rust-tokio-util" ,rust-tokio-util-0.7)
("rust-tower" ,rust-tower-0.4)
- ("rust-url" ,rust-url-2))))
- (home-page "https://hyper.rs")
- (synopsis "Fast and correct HTTP library")
- (description "This package provides a fast and correct HTTP library.")
- (license license:expat)))
+ ("rust-url" ,rust-url-2))))))
(define-public rust-hyper-0.13
(package
--
2.41.0
- [bug#69257] [PATCH 088/228] gnu: Add rust-prost-types-0.11., (continued)
- [bug#69257] [PATCH 088/228] gnu: Add rust-prost-types-0.11., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 050/228] gnu: Add rust-no-std-net-0.6., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 060/228] gnu: Add rust-sync-wrapper-0.1., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 142/228] gnu: Place rust-wl-clipboard-rs-0.7 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 149/228] gnu: Add rust-ruma-appservice-api-0.9., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 089/228] gnu: Add rust-axum-macros-0.3., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 186/228] gnu: Add rust-matrix-sdk-qrcode-0.7., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 190/228] gnu: Add rust-matrix-sdk-crypto-0.7., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 039/228] gnu: Add rust-parse-display-0.8., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 061/228] gnu: Add rust-tower-http-0.5., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 057/228] gnu: Add rust-hyper-1.,
Herman Rimm <=
- [bug#69257] [PATCH 094/228] gnu: Add rust-opentelemetry-jaeger-0.20., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 185/228] gnu: Add rust-qrcode-0.13., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 047/228] gnu: Add rust-tun-tap-0.1., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 095/228] gnu: Add rust-prost-build-0.11., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 043/228] gnu: Add rust-etherparse-0.13., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 052/228] gnu: Add rust-pnet-sys-0.34., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 070/228] gnu: Add rust-libflate-2., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 079/228] gnu: Add rust-ordered-float-4., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 040/228] gnu: Add rust-oauth2-types-0.7., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 168/228] gnu: Add rust-subslice-0.2., Herman Rimm, 2024/02/18