[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
283/330: gnu: Add rust-axum-0.7.
From: |
guix-commits |
Subject: |
283/330: gnu: Add rust-axum-0.7. |
Date: |
Mon, 18 Mar 2024 07:16:37 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit c6ccb3ee893853387c247a2b033e6e7cde55e5b0
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Mar 18 11:55:58 2024 +0200
gnu: Add rust-axum-0.7.
* gnu/packages/crates-web.scm (rust-axum-0.7): New variable.
(rust-axum-0.6): Inherit from rust-axum-0.7.
Change-Id: I23cdd494fd290dab34a6ec2113f6aae6df86e685
---
gnu/packages/crates-web.scm | 76 +++++++++++++++++++++++++++++++++++++++++----
1 file changed, 70 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index fd7bf3a386..d968852e7c 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -1890,8 +1890,77 @@ built on the Actix ecosystem.")
("rust-serde-urlencoded" ,rust-serde-urlencoded-0.6)
("rust-tokio-timer" ,rust-tokio-timer-0.2))))))
+(define-public rust-axum-0.7
+ (package
+ (name "rust-axum")
+ (version "0.7.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "axum" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "17kv7v8m981cqmfbv5m538fzxhw51l9bajv06kfddi7njarb8dhj"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1)
+ ("rust-axum-core" ,rust-axum-core-0.4)
+ ("rust-axum-macros" ,rust-axum-macros-0.4)
+ ("rust-base64" ,rust-base64-0.21)
+ ("rust-bytes" ,rust-bytes-1)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-http" ,rust-http-1)
+ ("rust-http-body" ,rust-http-body-1)
+ ("rust-http-body-util" ,rust-http-body-util-0.1)
+ ("rust-hyper" ,rust-hyper-1)
+ ("rust-hyper-util" ,rust-hyper-util-0.1)
+ ("rust-itoa" ,rust-itoa-1)
+ ("rust-matchit" ,rust-matchit-0.7)
+ ("rust-memchr" ,rust-memchr-2)
+ ("rust-mime" ,rust-mime-0.3)
+ ("rust-multer" ,rust-multer-3)
+ ("rust-percent-encoding" ,rust-percent-encoding-2)
+ ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)
+ ("rust-rustversion" ,rust-rustversion-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-serde-path-to-error"
,rust-serde-path-to-error-0.1)
+ ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7)
+ ("rust-sha1" ,rust-sha1-0.10)
+ ("rust-sync-wrapper" ,rust-sync-wrapper-0.1)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tokio-tungstenite" ,rust-tokio-tungstenite-0.21)
+ ("rust-tower" ,rust-tower-0.4)
+ ("rust-tower-http" ,rust-tower-http-0.5)
+ ("rust-tower-layer" ,rust-tower-layer-0.3)
+ ("rust-tower-service" ,rust-tower-service-0.3)
+ ("rust-tracing" ,rust-tracing-0.1))
+ #:cargo-development-inputs
+ (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-axum-macros" ,rust-axum-macros-0.4)
+ ("rust-quickcheck" ,rust-quickcheck-1)
+ ("rust-quickcheck-macros" ,rust-quickcheck-macros-1)
+ ("rust-reqwest" ,rust-reqwest-0.11)
+ ("rust-rustversion" ,rust-rustversion-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-time" ,rust-time-0.3)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tokio-stream" ,rust-tokio-stream-0.1)
+ ("rust-tokio-tungstenite" ,rust-tokio-tungstenite-0.21)
+ ("rust-tower" ,rust-tower-0.4)
+ ("rust-tower-http" ,rust-tower-http-0.5)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)
+ ("rust-uuid" ,rust-uuid-1))))
+ (home-page "https://github.com/tokio-rs/axum")
+ (synopsis "Web framework that focuses on ergonomics and modularity")
+ (description "Web framework that focuses on ergonomics and modularity.")
+ (license license:expat)))
+
(define-public rust-axum-0.6
(package
+ (inherit rust-axum-0.7)
(name "rust-axum")
(version "0.6.20")
(source
@@ -1901,7 +1970,6 @@ built on the Actix ecosystem.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1gynqkg3dcy1zd7il69h8a3zax86v6qq5zpawqyn87mr6979x0iv"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-test-flags '("--release" "--lib" "--bins" "--tests" "--"
"--skip=routing::tests::logging_rejections")
@@ -1953,11 +2021,7 @@ built on the Actix ecosystem.")
("rust-tower-http" ,rust-tower-http-0.4)
("rust-tracing" ,rust-tracing-0.1)
("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)
- ("rust-uuid" ,rust-uuid-1))))
- (home-page "https://github.com/tokio-rs/axum")
- (synopsis "Web framework that focuses on ergonomics and modularity")
- (description "Web framework that focuses on ergonomics and modularity.")
- (license license:expat)))
+ ("rust-uuid" ,rust-uuid-1))))))
(define-public rust-axum-core-0.3
(package
- 262/330: gnu: Add rust-state-0.6., (continued)
- 262/330: gnu: Add rust-state-0.6., guix-commits, 2024/03/18
- 268/330: gnu: Add rust-actix-server-2., guix-commits, 2024/03/18
- 269/330: gnu: Add rust-actix-service-2., guix-commits, 2024/03/18
- 265/330: gnu: Add rust-actix-codec-0.5., guix-commits, 2024/03/18
- 275/330: gnu: Add rust-headers-0.4., guix-commits, 2024/03/18
- 279/330: gnu: Add rust-tungstenite-0.21., guix-commits, 2024/03/18
- 272/330: gnu: Add rust-actix-web-4., guix-commits, 2024/03/18
- 271/330: gnu: Add rust-actix-utils-3., guix-commits, 2024/03/18
- 274/330: gnu: rust-h2-0.3: Update to 0.3.25., guix-commits, 2024/03/18
- 280/330: gnu: Add rust-rust-embed-utils-8., guix-commits, 2024/03/18
- 283/330: gnu: Add rust-axum-0.7.,
guix-commits <=
- 287/330: gnu: Add rust-rocket-0.5., guix-commits, 2024/03/18
- 281/330: gnu: Add rust-rust-embed-8., guix-commits, 2024/03/18
- 292/330: gnu: Add rust-jsonwebtoken-7., guix-commits, 2024/03/18
- 291/330: gnu: Add rust-rfc7239-0.1., guix-commits, 2024/03/18
- 294/330: gnu: Add rust-wildmatch-2., guix-commits, 2024/03/18
- 293/330: gnu: Add rust-axum-macros-0.4., guix-commits, 2024/03/18
- 295/330: gnu: Add rust-tokio-tungstenite-0.16., guix-commits, 2024/03/18
- 300/330: gnu: Add rust-symbolic-common-9., guix-commits, 2024/03/18
- 306/330: gnu: Add rust-prost-0.10., guix-commits, 2024/03/18
- 308/330: gnu: Add rust-pprof-0.10., guix-commits, 2024/03/18