diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-08-03 11:52:38 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-08-14 19:38:24 +0300 |
commit | 7557fad9f0fd48acf884cd597cdc180cc3b9d82d (patch) | |
tree | e40479584a67b1ef63232733504727b79e0a4b8c | |
parent | b0588f03a7a85b3750ec00486ba0ac5e17e94e59 (diff) | |
download | guix-7557fad9f0fd48acf884cd597cdc180cc3b9d82d.tar.gz |
gnu: Add rust-async-oneshot-0.5.
* gnu/packages/crates-io.scm (rust-async-oneshot-0.5): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f8c6ceb53b..50c3770da5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5248,6 +5248,32 @@ primitives: "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") |