diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2019-08-04 13:48:58 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2019-08-12 11:57:25 +0300 |
commit | 1956ba239ccec1e9889e346a9cf7e1b5f50f5745 (patch) | |
tree | 015d55dd6801950866b220a889466d6ae6766fed /gnu | |
parent | 6b69f9f4e362acc412b02d79216a45b2f948f622 (diff) | |
download | guix-patches-1956ba239ccec1e9889e346a9cf7e1b5f50f5745.tar guix-patches-1956ba239ccec1e9889e346a9cf7e1b5f50f5745.tar.gz |
gnu: Add rust-futures.
* gnu/packages/crates-io.scm (rust-futures): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index afd7cb586a..dedc0b8db0 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -233,6 +233,26 @@ implementation that is more efficient for smaller hash keys.") process and much more.") (license license:expat))) +(define-public rust-futures + (package + (name "rust-futures") + (version "0.1.28") + (source + (origin + (method url-fetch) + (uri (crate-uri "futures" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0saq8ffjw1pwf1pzhw3kq1z7dfq6wpd8x93dnni6vbkc799kkp25")))) + (build-system cargo-build-system) + (home-page "https://github.com/rust-lang-nursery/futures-rs") + (synopsis "Implementation of zero-cost futures in Rust") + (description "An implementation of @code{futures} and @code{streams} +featuring zero allocations, composability, and iterator-like interfaces.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-proc-macro2 (package (name "rust-proc-macro2") |