gnu: Add rust-async-stream-0.3.

* gnu/packages/crates-io.scm (rust-async-stream-0.3): New variable.
This commit is contained in:
Nicolas Goaziou 2021-01-03 21:35:11 +01:00
parent 0e4e91869c
commit bc67bc0810
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -1220,6 +1220,34 @@ (define-public rust-async-compression-0.3
and Rust's modern asynchronous IO types.")
(license (list license:expat license:asl2.0))))
(define-public rust-async-stream-0.3
(package
(name "rust-async-stream")
(version "0.3.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "async-stream" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0p19qn5igblb86d35lda72q8vimk2iw8hk7r07wjj5y0rdqdyw1n"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-async-stream-impl" ,rust-async-stream-impl-0.3)
("rust-futures-core" ,rust-futures-core-0.3))
#:cargo-development-inputs
(("rust-futures-util" ,rust-futures-util-0.3)
("rust-tokio" ,rust-tokio-0.2)
("rust-tokio-test" ,rust-tokio-test-0.2)
("rust-trybuild" ,rust-trybuild-1))))
(home-page "https://github.com/tokio-rs/async-stream")
(synopsis "Asynchronous streams using async & await notation")
(description
"This package provides asynchronous streams using async & await
notation.")
(license license:expat)))
(define-public rust-async-stream-impl-0.3
(package
(name "rust-async-stream-impl")