[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
284/330: gnu: Add rust-axum-core-0.4.
From: |
guix-commits |
Subject: |
284/330: gnu: Add rust-axum-core-0.4. |
Date: |
Mon, 18 Mar 2024 07:16:38 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 730f9d67a2663a0f7a9f1189bfedf16de9d0fd80
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Mar 18 11:56:59 2024 +0200
gnu: Add rust-axum-core-0.4.
* gnu/packages/crates-web.scm (rust-axum-core-0.4): New variable.
(rust-axum-core-0.3): Inherit from rust-axum-core-0.4.
Change-Id: I65ad7aa6806650be291bed966d804b99b6ddcd09
---
gnu/packages/crates-web.scm | 48 +++++++++++++++++++++++++++++++++++++++------
1 file changed, 42 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index d968852e7c..23e22a4627 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -2023,8 +2023,49 @@ built on the Actix ecosystem.")
("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)
("rust-uuid" ,rust-uuid-1))))))
+(define-public rust-axum-core-0.4
+ (package
+ (name "rust-axum-core")
+ (version "0.4.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "axum-core" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1qx28wg4j6qdcdrisqwyaavlzc0zvbsrcwa99zf9456lfbyn6p51"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags
+ ;; The doc tests contain references to axum_extra.
+ '("--release" "--lib" "--bins" "--tests")
+ #:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1)
+ ("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-mime" ,rust-mime-0.3)
+ ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)
+ ("rust-rustversion" ,rust-rustversion-1)
+ ("rust-sync-wrapper" ,rust-sync-wrapper-0.1)
+ ("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-axum" ,rust-axum-0.7)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-hyper" ,rust-hyper-1)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tower-http" ,rust-tower-http-0.5))))
+ (home-page "https://github.com/tokio-rs/axum")
+ (synopsis "Core types and traits for @code{axum}")
+ (description "Core types and traits for @code{axum}.")
+ (license license:expat)))
+
(define-public rust-axum-core-0.3
(package
+ (inherit rust-axum-core-0.4)
(name "rust-axum-core")
(version "0.3.4")
(source
@@ -2034,7 +2075,6 @@ built on the Actix ecosystem.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0b1d9nkqb8znaba4qqzxzc968qwj4ybn4vgpyz9lz4a7l9vsb7vm"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1)
("rust-bytes" ,rust-bytes-1)
@@ -2051,11 +2091,7 @@ built on the Actix ecosystem.")
("rust-futures-util" ,rust-futures-util-0.3)
("rust-hyper" ,rust-hyper-0.14)
("rust-tokio" ,rust-tokio-1)
- ("rust-tower-http" ,rust-tower-http-0.4))))
- (home-page "https://github.com/tokio-rs/axum")
- (synopsis "Core types and traits for @code{axum}")
- (description "Core types and traits for @code{axum}.")
- (license license:expat)))
+ ("rust-tower-http"
,rust-tower-http-0.4))))))
(define-public rust-axum-extra-0.7
(package
- 260/330: gnu: Add rust-rustyline-derive-0.10., (continued)
- 260/330: gnu: Add rust-rustyline-derive-0.10., guix-commits, 2024/03/18
- 263/330: gnu: rust-termios-0.3: Update to 0.3.3., guix-commits, 2024/03/18
- 264/330: gnu: Add rust-tokio-tungstenite-0.21., guix-commits, 2024/03/18
- 266/330: gnu: Add rust-actix-http-3., guix-commits, 2024/03/18
- 267/330: gnu: Add rust-actix-router-0.5., guix-commits, 2024/03/18
- 270/330: gnu: Add rust-actix-tls-3., guix-commits, 2024/03/18
- 276/330: gnu: Add rust-headers-core-0.3., guix-commits, 2024/03/18
- 278/330: gnu: Add rust-poem-1., guix-commits, 2024/03/18
- 277/330: gnu: Add rust-poem-derive-1., guix-commits, 2024/03/18
- 273/330: gnu: Add rust-actix-web-codegen-4., guix-commits, 2024/03/18
- 284/330: gnu: Add rust-axum-core-0.4.,
guix-commits <=
- 286/330: gnu: Add rust-rocket-codegen-0.5., guix-commits, 2024/03/18
- 285/330: gnu: Add rust-axum-extra-0.9., guix-commits, 2024/03/18
- 289/330: gnu: Add rust-tungstenite-0.16., guix-commits, 2024/03/18
- 288/330: gnu: Add rust-rocket-http-0.5., guix-commits, 2024/03/18
- 282/330: gnu: Add rust-rust-embed-impl-8., guix-commits, 2024/03/18
- 290/330: gnu: Add rust-tiny-http-0.11., guix-commits, 2024/03/18
- 301/330: gnu: Add rust-stable-pattern-0.1., guix-commits, 2024/03/18
- 297/330: gnu: Add rust-thin-vec-0.2., guix-commits, 2024/03/18
- 298/330: gnu: Add rust-textnonce-1., guix-commits, 2024/03/18
- 299/330: gnu: Add rust-symbolic-demangle-9., guix-commits, 2024/03/18