aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-03-18 22:51:54 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-03-19 22:33:22 +0200
commit8f000e87a2276ee89ee6d192d8e61899a9a680ef (patch)
tree44922cbf9bb2e77eafd951ba5609925f6f82afb2 /gnu/packages/crates-io.scm
parent07bf6cbc49adf2aa0835b84793c30463a66178d8 (diff)
downloadpatches-8f000e87a2276ee89ee6d192d8e61899a9a680ef.tar
patches-8f000e87a2276ee89ee6d192d8e61899a9a680ef.tar.gz
gnu: Add rust-futures-preview-0.3.
* gnu/packages/crates-io.scm (rust-futures-preview-0.3): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 187f15dc49..8fd0433c9e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5889,6 +5889,36 @@ for the futures-rs library.")
"This package provides the @code{futures-rs} procedural macro implementations.")
(license (list license:expat license:asl2.0))))
+(define-public rust-futures-preview-0.3
+ (package
+ (name "rust-futures-preview")
+ (version "0.3.0-alpha.17")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "futures-preview" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0rsq8d1ciyg37i5ysd9dynwmklwy4sx466z9a72687wsi8fgj9dz"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f
+ #:cargo-inputs
+ (("rust-futures-channel-preview" ,rust-futures-channel-preview-0.3)
+ ("rust-futures-core-preview" ,rust-futures-core-preview-0.3)
+ ("rust-futures-executor-preview" ,rust-futures-executor-preview-0.3)
+ ("rust-futures-io-preview" ,rust-futures-io-preview-0.3)
+ ("rust-futures-sink-preview" ,rust-futures-sink-preview-0.3)
+ ("rust-futures-util-preview" ,rust-futures-util-preview-0.3))))
+ (home-page "https://rust-lang-nursery.github.io/futures-rs")
+ (synopsis "An implementation of futures and streams")
+ (description
+ "An implementation of futures and streams featuring zero allocations,
+composability, and iterator-like interfaces.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-futures-select-macro-preview-0.3
(package
(name "rust-futures-select-macro-preview")