diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b15ce0d215..7c6fd8da76 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1382,6 +1382,35 @@ (define-public rust-futures-io-preview-0.3 (license (list license:asl2.0 license:expat)))) +(define-public rust-futures-select-macro-preview-0.3 + (package + (name "rust-futures-select-macro-preview") + (version "0.3.0-alpha.17") + (source + (origin + (method url-fetch) + (uri (crate-uri "futures-select-macro-preview" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1a90ivjzkgz7msiz5si05xzi8xwsk5gar1gkrbmrgqpgkliqd7a6")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5) + ("rust-proc-macro2" ,rust-proc-macro2-0.4) + ("rust-quote" ,rust-quote-1.0) + ("rust-syn" ,rust-syn-0.15)))) + (home-page "https://github.com/rust-lang/futures-rs") + (synopsis + "Handle the first Future to complete") + (description + "The @code{select!} macro for waiting on multiple different +@code{Future}s at once and handling the first one to complete.") + (license (list license:expat license:asl2.0)))) + (define-public rust-futures-sink-preview-0.3 (package (name "rust-futures-sink-preview")