diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-12-27 13:52:10 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:56:56 +0200 |
commit | 5a90fa81304260ac722d7e86f8e9d34b55b14876 (patch) | |
tree | 9e303c99f49fae4f7c04296325b90ce4b9f021fe /gnu/packages/crates-web.scm | |
parent | eb589a101bd4a7595a65c8373a70e6ac58d43208 (diff) |
gnu: rust-h3: Move to (gnu packages crates-web).
* gnu/packages/crates-io.scm (rust-h3-0.0.3, rust-h3-quinn-0.0.4): Move
from here ...
* gnu/packages/crates-web.scm: ... to here.
Change-Id: Icd20fe49810a8d6d98fb552cf821faceefe44e3e
Diffstat (limited to 'gnu/packages/crates-web.scm')
-rw-r--r-- | gnu/packages/crates-web.scm | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index bcddce9e0f..18ee3fc39f 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -1715,6 +1715,71 @@ built on the Actix ecosystem.") ("rust-webpki" ,rust-webpki-0.21) ("rust-webpki-roots" ,rust-webpki-roots-0.17)))))) +(define-public rust-h3-0.0.3 + (package + (name "rust-h3") + (version "0.0.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "h3" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "101vg73galsyk5gnjb49cjb6q40c9z2npcdxpfsj99ky2waijgmq")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included + #:cargo-inputs + (("rust-bytes" ,rust-bytes-1) + ("rust-fastrand" ,rust-fastrand-2) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-http" ,rust-http-0.2) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-tokio" ,rust-tokio-1) + ("rust-tracing" ,rust-tracing-0.1)) + #:cargo-development-inputs + (("rust-assert-matches" ,rust-assert-matches-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-proptest" ,rust-proptest-1) + ("rust-quinn" ,rust-quinn-0.10) + ("rust-quinn-proto" ,rust-quinn-proto-0.10) + ("rust-rcgen" ,rust-rcgen-0.11) + ("rust-rustls" ,rust-rustls-0.21) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-util" ,rust-tokio-util-0.7) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) + (home-page "https://github.com/hyperium/h3") + (synopsis "Async HTTP/3 implementation") + (description "This package provides an async HTTP/3 implementation.") + (license license:expat))) + +(define-public rust-h3-quinn-0.0.4 + (package + (name "rust-h3-quinn") + (version "0.0.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "h3-quinn" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1r0sm0j51crlfpy2j1wfhgpg2lrfq2xmf5qjd98ksg3h9l0pb5mc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-h3" ,rust-h3-0.0.3) + ("rust-quinn" ,rust-quinn-0.10) + ("rust-quinn-proto" ,rust-quinn-proto-0.10) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-util" ,rust-tokio-util-0.7)))) + (home-page "https://github.com/hyperium/h3") + (synopsis "QUIC transport implementation based on Quinn") + (description + "This package provides QUIC transport implementation based on Quinn.") + (license license:expat))) + (define-public rust-web-view-0.7 (package (name "rust-web-view") |