gnu: Add rust-futures.

* gnu/packages/crates-io.scm (rust-futures): New variable.
This commit is contained in:
Efraim Flashner 2019-08-04 13:48:58 +03:00
parent 6b69f9f4e3
commit 1956ba239c
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -233,6 +233,26 @@ (define-public rust-fs-extra
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")