diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-12-20 13:04:52 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-01-03 22:06:35 +0100 |
commit | 69d22548f4abcfb4a83bd1c36acc278f1bce5467 (patch) | |
tree | ca016e2cc163936b1613673956c4eb2c14f820b2 /gnu | |
parent | 3fd8fa55cd9855ca3e67b8d96a45189cefa28ab5 (diff) | |
download | guix-patches-69d22548f4abcfb4a83bd1c36acc278f1bce5467.tar guix-patches-69d22548f4abcfb4a83bd1c36acc278f1bce5467.tar.gz |
gnu: Add rust-futures-lite-1.
* gnu/packages/crates-io.scm (rust-futures-lite-1): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 662e8a4245..dedfcfe55d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -10955,6 +10955,37 @@ for the futures-rs library.") @code{try_join!} macro.") (license (list license:expat license:asl2.0)))) +(define-public rust-futures-lite-1 + (package + (name "rust-futures-lite") + (version "1.11.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "futures-lite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ywmyvpy4f348jri8rxhpj59a7bvy12pspm59x5207fys061sj5l")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-fastrand" ,rust-fastrand-1) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-io" ,rust-futures-io-0.3) + ("rust-memchr" ,rust-memchr-2) + ("rust-parking" ,rust-parking-2) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-waker-fn" ,rust-waker-fn-1)) + #:cargo-development-inputs + (("rust-spin-on" ,rust-spin-on-0.1)))) + (home-page "https://github.com/stjepang/futures-lite") + (synopsis "Futures, streams, and async I/O combinators") + (description + "This crate is a subset of @code{futures} that compiles an order of +magnitude faster, fixes minor warts in its API, fills in some obvious gaps, +and removes almost all unsafe code from it.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-futures-macro-0.3 (package (name "rust-futures-macro") |