[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20/27: gnu: Add rust-futures-lite-1.
From: |
guix-commits |
Subject: |
20/27: gnu: Add rust-futures-lite-1. |
Date: |
Sun, 3 Jan 2021 16:08:57 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit 69d22548f4abcfb4a83bd1c36acc278f1bce5467
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun Dec 20 13:04:52 2020 +0100
gnu: Add rust-futures-lite-1.
* gnu/packages/crates-io.scm (rust-futures-lite-1): New variable.
---
gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 662e8a4..dedfcfe 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")
- 03/27: gnu: Add rust-async-log-attributes-1., (continued)
- 03/27: gnu: Add rust-async-log-attributes-1., guix-commits, 2021/01/03
- 09/27: gnu: Add rust-async-task-1., guix-commits, 2021/01/03
- 16/27: gnu: Add rust-easy-parallel-3., guix-commits, 2021/01/03
- 14/27: gnu: Add rust-atomic-waker-1., guix-commits, 2021/01/03
- 06/27: gnu: Add rust-kv-log-macro-1., guix-commits, 2021/01/03
- 08/27: gnu: Add rust-broadcaster-0.2., guix-commits, 2021/01/03
- 10/27: gnu: rust-futures-preview-0.3: Update to 0.3.0-alpha.19., guix-commits, 2021/01/03
- 11/27: gnu: Add rust-async-macros-1., guix-commits, 2021/01/03
- 15/27: gnu: Add rust-waker-fn-1., guix-commits, 2021/01/03
- 13/27: gnu: Add rust-femme-2., guix-commits, 2021/01/03
- 20/27: gnu: Add rust-futures-lite-1.,
guix-commits <=
- 18/27: gnu: Add rust-fastrand-1., guix-commits, 2021/01/03
- 19/27: gnu: Add rust-spin-on-0.1., guix-commits, 2021/01/03
- 25/27: gnu: Add rust-async-channel-1., guix-commits, 2021/01/03
- 17/27: gnu: Add rust-parking-2., guix-commits, 2021/01/03
- 23/27: gnu: Add rust-event-listener-2., guix-commits, 2021/01/03
- 24/27: gnu: Add rust-blocking-0.6., guix-commits, 2021/01/03
- 26/27: gnu: rust-once-cell: Improve description., guix-commits, 2021/01/03
- 27/27: gnu: rust-tokio-0.3: Update to 0.3.6., guix-commits, 2021/01/03
- 12/27: gnu: Add rust-async-attributes-1 and rust-async-std-0.99., guix-commits, 2021/01/03
- 22/27: gnu: Add rust-concurrent-queue-1., guix-commits, 2021/01/03