mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 14:28:15 -05:00
gnu: Add rust-tower-http-0.4.
* gnu/packages/crates-web.scm (rust-tower-http-0.4): New variable. Change-Id: I9bc13f74d5f23f42a271aacf3d3ed1c31f78c362 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
c2af73699c
commit
b4db787dc8
1 changed files with 58 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
|||
;;; Copyright © 2023 Steve George <steve@futurile.net>
|
||||
;;; Copyright © 2023 VÖRÖSKŐI András <voroskoi@gmail.com>
|
||||
;;; Copyright © 2024 Wilko Meyer <w@wmeyer.eu>
|
||||
;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -3582,6 +3583,63 @@ (define-public rust-tower-0.4
|
|||
robust clients and servers.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-tower-http-0.4
|
||||
(package
|
||||
(name "rust-tower-http")
|
||||
(version "0.4.4")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "tower-http" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0h0i2flrw25zwxv72sifq4v5mwcb030spksy7r2a4xl2d4fvpib1"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-test-flags (list "--release"
|
||||
;; Not the doc tests.
|
||||
"--lib" "--bins" "--tests")
|
||||
#:cargo-inputs (("rust-async-compression" ,rust-async-compression-0.4)
|
||||
("rust-base64" ,rust-base64-0.21)
|
||||
("rust-bitflags" ,rust-bitflags-2)
|
||||
("rust-bytes" ,rust-bytes-1)
|
||||
("rust-futures-core" ,rust-futures-core-0.3)
|
||||
("rust-futures-util" ,rust-futures-util-0.3)
|
||||
("rust-http" ,rust-http-0.2)
|
||||
("rust-http-body" ,rust-http-body-0.4)
|
||||
("rust-http-range-header" ,rust-http-range-header-0.3)
|
||||
("rust-httpdate" ,rust-httpdate-1)
|
||||
("rust-iri-string" ,rust-iri-string-0.7)
|
||||
("rust-mime" ,rust-mime-0.3)
|
||||
("rust-mime-guess" ,rust-mime-guess-2)
|
||||
("rust-percent-encoding" ,rust-percent-encoding-2)
|
||||
("rust-pin-project-lite" ,rust-pin-project-lite-0.2)
|
||||
("rust-tokio" ,rust-tokio-1)
|
||||
("rust-tokio-util" ,rust-tokio-util-0.7)
|
||||
("rust-tower" ,rust-tower-0.4)
|
||||
("rust-tower-layer" ,rust-tower-layer-0.3)
|
||||
("rust-tower-service" ,rust-tower-service-0.3)
|
||||
("rust-tracing" ,rust-tracing-0.1)
|
||||
("rust-uuid" ,rust-uuid-1))
|
||||
#:cargo-development-inputs
|
||||
(("rust-brotli" ,rust-brotli-3)
|
||||
("rust-bytes" ,rust-bytes-1)
|
||||
("rust-flate2" ,rust-flate2-1)
|
||||
("rust-futures" ,rust-futures-0.3)
|
||||
("rust-hyper" ,rust-hyper-0.14)
|
||||
("rust-once-cell" ,rust-once-cell-1)
|
||||
("rust-serde-json" ,rust-serde-json-1)
|
||||
("rust-tokio" ,rust-tokio-1)
|
||||
("rust-tower" ,rust-tower-0.4)
|
||||
("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)
|
||||
("rust-uuid" ,rust-uuid-1)
|
||||
("rust-zstd" ,rust-zstd-0.12))))
|
||||
(home-page "https://github.com/tower-rs/tower-http")
|
||||
(synopsis "Tower middleware and utilities for HTTP clients and servers")
|
||||
(description "This package provides the tower middleware and utilities for
|
||||
HTTP clients and servers.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-tower-layer-0.3
|
||||
(package
|
||||
(name "rust-tower-layer")
|
||||
|
|
Loading…
Reference in a new issue