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: I23cdd494fd290dab34a6ec2113f6aae6df86e685master
parent
584a6b3044
commit
b6ed5bdbcd
|
@ -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
|
||||
|
|
Reference in New Issue