[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#69257] [PATCH 115/228] gnu: Add rust-warp-0.3.
From: |
Herman Rimm |
Subject: |
[bug#69257] [PATCH 115/228] gnu: Add rust-warp-0.3. |
Date: |
Sun, 18 Feb 2024 22:08:05 +0100 |
* gnu/packages/crates-web.scm (rust-warp-0.3): Add variable.
(rust-warp-0.2): Inherit from rust-warp-0.3.
Change-Id: I5f3683ac83fd4d607b3095285f263eb889ece61e
---
gnu/packages/crates-web.scm | 53 ++++++++++++++++++++++++++++++++-----
1 file changed, 47 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 1bc8f504ab..afd85d4d1e 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -5750,8 +5750,54 @@ (define-public rust-typed-headers-0.1
("rust-http" ,rust-http-0.1)
("rust-mime" ,rust-mime-0.3))))))
+(define-public rust-warp-0.3
+ (package
+ (name "rust-warp")
+ (version "0.3.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "warp" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0sfimrpxkyka1mavfhg5wa4x977qs8vyxa510c627w9zw0i2xsf1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-async-compression" ,rust-async-compression-0.3)
+ ("rust-bytes" ,rust-bytes-1)
+ ("rust-futures-channel" ,rust-futures-channel-0.3)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-headers" ,rust-headers-0.3)
+ ("rust-http" ,rust-http-0.2)
+ ("rust-hyper" ,rust-hyper-0.14)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-mime" ,rust-mime-0.3)
+ ("rust-mime-guess" ,rust-mime-guess-2)
+ ("rust-multer" ,rust-multer-2)
+ ("rust-percent-encoding" ,rust-percent-encoding-2)
+ ("rust-pin-project" ,rust-pin-project-1)
+ ("rust-rustls-pemfile" ,rust-rustls-pemfile-1)
+ ("rust-scoped-tls" ,rust-scoped-tls-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tokio-rustls" ,rust-tokio-rustls-0.24)
+ ("rust-tokio-stream" ,rust-tokio-stream-0.1)
+ ("rust-tokio-tungstenite" ,rust-tokio-tungstenite-0.20)
+ ("rust-tokio-util" ,rust-tokio-util-0.7)
+ ("rust-tower-service" ,rust-tower-service-0.3)
+ ("rust-tracing" ,rust-tracing-0.1))))
+ (home-page "https://github.com/seanmonstar/warp")
+ (synopsis "Serve the web at warp speeds")
+ (description "Warp is a composable, web server framework.")
+ (license license:expat)))
+
(define-public rust-warp-0.2
(package
+ (inherit rust-warp-0.3)
(name "rust-warp")
(version "0.2.5")
(source
@@ -5761,7 +5807,6 @@ (define-public rust-warp-0.2
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "01wl8kv5hh1dd7gcwdrmn9xfs7jjsh9yc8xa06ph8yf9akgyc6zl"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -5786,11 +5831,7 @@ (define-public rust-warp-0.2
("rust-tower-service" ,rust-tower-service-0.3)
("rust-tracing" ,rust-tracing-0.1)
("rust-tracing-futures" ,rust-tracing-futures-0.2)
- ("rust-urlencoding" ,rust-urlencoding-1))))
- (home-page "https://github.com/seanmonstar/warp")
- (synopsis "Composable web server framework")
- (description "Warp is a composable, web server framework.")
- (license license:expat)))
+ ("rust-urlencoding" ,rust-urlencoding-1))))))
(define-public rust-web-view-0.7
(package
--
2.41.0
- [bug#69257] [PATCH 105/228] gnu: Add rust-tracing-opentelemetry-0.22., (continued)
- [bug#69257] [PATCH 105/228] gnu: Add rust-tracing-opentelemetry-0.22., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 104/228] gnu: Add rust-opentelemetry-stdout-0.2., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 106/228] gnu: Add rust-mas-tower-0.7., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 107/228] gnu: Add rust-mas-http-0.7., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 109/228] gnu: Add rust-mas-keystore-0.7., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 108/228] gnu: Add rust-chacha20poly1305-0.10., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 110/228] gnu: Place rust-const-format-proc-macros-0.2 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 113/228] gnu: Place rust-const-cstr-0.3 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 112/228] gnu: Place rust-const-fn-assert-0.1 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 114/228] gnu: Place rust-compound-duration-1 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 115/228] gnu: Add rust-warp-0.3.,
Herman Rimm <=
- [bug#69257] [PATCH 111/228] gnu: Place rust-const-format-0.2 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 120/228] gnu: Add rust-config-0.13., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 119/228] gnu: Add rust-temp-env-0.2., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 122/228] gnu: Add rust-deadpool-0.9., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 125/228] gnu: Add rust-mas-oidc-client-0.7., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 123/228] gnu: Add rust-assert-json-diff-2., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 128/228] gnu: Add rust-konst-proc-macros-0.3., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 126/228] gnu: Add rust-matrix-sdk-test-macros-0.7., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 129/228] gnu: Place rust-konst-macro-rules-0.2 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 131/228] gnu: Add rust-typewit-1., Herman Rimm, 2024/02/18