gnu: Add rust-async-oneshot-0.5.

* gnu/packages/crates-io.scm (rust-async-oneshot-0.5): New variable.
This commit is contained in:
Efraim Flashner 2023-08-03 11:52:38 +03:00
parent b0588f03a7
commit 7557fad9f0
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -5248,6 +5248,32 @@ (define-public rust-async-net-1
"Async networking primitives for TCP/UDP/Unix communication")
(license (list license:asl2.0 license:expat))))
(define-public rust-async-oneshot-0.5
(package
(name "rust-async-oneshot")
(version "0.5.9")
(source (origin
(method url-fetch)
(uri (crate-uri "async-oneshot" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0qslzzfz3j0fb4lvsmq5nx6lkjfbdq5sjmsl7xgj0hym08mdwixf"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; Uses unstable features.
#:cargo-inputs
(("rust-futures-micro" ,rust-futures-micro-0.5))
#:cargo-development-inputs
(("rust-criterion" ,rust-criterion-0.3)
("rust-futures-lite" ,rust-futures-lite-1)
("rust-waker-fn" ,rust-waker-fn-1))))
(home-page "https://github.com/irrustible/async-oneshot")
(synopsis "Async-aware oneshot channel")
(description "This package provides a fast, small, full-featured,
async-aware oneshot channel.")
(license license:mpl2.0)))
(define-public rust-async-process-1
(package
(name "rust-async-process")