diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-10 17:19:07 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-13 11:50:32 +0100 |
commit | 6d291e45a2d3f8ec3dd9c9e2fd9437621e7b63ce (patch) | |
tree | 40eecca4eccc93fc665ac7a3f541c3c778a9e7d7 /gnu/packages | |
parent | 0c383fc0894c3cce1b929e53a9c05839cab83036 (diff) | |
download | guix-6d291e45a2d3f8ec3dd9c9e2fd9437621e7b63ce.tar guix-6d291e45a2d3f8ec3dd9c9e2fd9437621e7b63ce.tar.gz |
gnu: Add rust-futures-codec-0.4.
* gnu/packages/crates-io.scm (rust-futures-codec-0.4): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8c23ff33ff..35c8bedec0 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -14217,6 +14217,36 @@ featuring zero allocations, composability, and iterator-like interfaces.") "Channels for asynchronous communication using futures-rs.") (license (list license:expat license:asl2.0)))) +(define-public rust-futures-codec-0.4 + (package + (name "rust-futures-codec") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "futures_codec" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0nzadpxhdxdlnlk2f0gfn0qbifqc3pbnzm10v4z04x8ciczxcm6f")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bytes" ,rust-bytes-0.5) + ("rust-futures" ,rust-futures-0.3) + ("rust-memchr" ,rust-memchr-2) + ("rust-pin-project" ,rust-pin-project-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-serde-cbor" ,rust-serde-cbor-0.11) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/matthunz/futures-codec") + (synopsis + "Utilities for encoding and decoding frames using @code{async/await}") + (description + "This package provides utilities for encoding and decoding frames using +@code{async/await}.") + (license license:expat))) + (define-public rust-futures-core-0.3 (package (name "rust-futures-core") |