diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-01-24 11:32:01 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:58:31 +0200 |
commit | 0b8fd6cc7d132ca5402c76739f3c3a8702d9b06f (patch) | |
tree | 447b62fe056feebedf7a9afd2eb090ca2f1fa4a4 /gnu/packages/crates-web.scm | |
parent | c651f3f63ab5d5c1172f6209d582273db83c8705 (diff) |
gnu: rust-tonic-0.6: Move to (gnu packages crates-web).
* gnu/packages/crates-io.scm (rust-tonic-0.6): Move from here ...
* gnu/packages/crates-web.scm: ... to here.
Change-Id: I5081ae9bdc0fac427e62a9cafa34be34e197903a
Diffstat (limited to 'gnu/packages/crates-web.scm')
-rw-r--r-- | gnu/packages/crates-web.scm | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index 18da03e5e3f..a98e94389ad 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -3253,6 +3253,63 @@ alike. It's completely modular, and built directly for @code{async/await}.") ("rust-openssl" ,rust-openssl-0.10) ("rust-url" ,rust-url-1)))))) +(define-public rust-tonic-0.6 + (package + (name "rust-tonic") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "tonic" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "02jxiy0n2mw2c1fchykj3m18wp986685bji26px0z9qhkmjg827z")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; unresolved import `crate::codec::compression` + #:cargo-inputs + (("rust-async-stream" ,rust-async-stream-0.3) + ("rust-async-trait" ,rust-async-trait-0.1) + ("rust-base64" ,rust-base64-0.13) + ("rust-bytes" ,rust-bytes-1) + ("rust-flate2" ,rust-flate2-1) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-h2" ,rust-h2-0.3) + ("rust-http" ,rust-http-0.2) + ("rust-http-body" ,rust-http-body-0.4) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-hyper-timeout" ,rust-hyper-timeout-0.4) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-pin-project" ,rust-pin-project-1) + ("rust-prost" ,rust-prost-0.9) + ("rust-prost-derive" ,rust-prost-derive-0.9) + ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.5) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.22) + ("rust-tokio-stream" ,rust-tokio-stream-0.1) + ("rust-tokio-util" ,rust-tokio-util-0.6) + ("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-tracing-futures" ,rust-tracing-futures-0.2) + ("rust-webpki-roots" ,rust-webpki-roots-0.21)) + #:cargo-development-inputs + (("rust-bencher" ,rust-bencher-0.1) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-quickcheck-macros" ,rust-quickcheck-macros-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-static-assertions" ,rust-static-assertions-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tower" ,rust-tower-0.4)))) + (home-page "https://github.com/hyperium/tonic") + (synopsis "gRPC over HTTP/2 implementation for Rust") + (description + "This package provides a gRPC over HTTP/2 implementation focused on high +performance, interoperability, and flexibility.") + (license license:expat))) + (define-public rust-tower-0.4 (package (name "rust-tower") |