From: Herman Rimm via Guix-patches via <guix-patches@gnu.org>
To: 68819@debbugs.gnu.org
Cc: Herman Rimm <herman@rimm.ee>, Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#68819] [PATCH 20/49] gnu: Add rust-futures-lite-2.
Date: Tue, 30 Jan 2024 17:00:32 +0100 [thread overview]
Message-ID: <df05d81ac74d035d0af1ad0db26481c46305f3e0.1706630138.git.herman@rimm.ee> (raw)
In-Reply-To: <cover.1706630137.git.herman@rimm.ee>
* gnu/packages/crates-io.scm (rust-futures-lite-2): Add variable.
(rust-futures-lite-1): Inherit from rust-futures-lite-2.
Change-Id: I46772a91a10fba58351ee47c5acc8b11cb777f9b
---
gnu/packages/crates-io.scm | 40 +++++++++++++++++++++++++++++---------
1 file changed, 31 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e37132e2dc..3c59fe6837 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -24470,8 +24470,38 @@ (define-public rust-futures-join-macro-preview-0.3
@code{try_join!} macro.")
(license (list license:expat license:asl2.0))))
+(define-public rust-futures-lite-2
+ (package
+ (name "rust-futures-lite")
+ (version "2.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "futures-lite" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1flj85i6xm0rjicxixmajrp6rhq8i4bnbzffmrd6h23ln8jshns4"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-fastrand" ,rust-fastrand-2)
+ ("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))
+ #:cargo-development-inputs (("rust-spin-on" ,rust-spin-on-0.1)
+ ("rust-waker-fn" ,rust-waker-fn-1))))
+ (home-page "https://github.com/smol-rs/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-lite-1
(package
+ (inherit rust-futures-lite-2)
(name "rust-futures-lite")
(version "1.13.0")
(source
@@ -24481,7 +24511,6 @@ (define-public rust-futures-lite-1
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1kkbqhaib68nzmys2dc8j9fl2bwzf2s91jfk13lb2q3nwhfdbaa9"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-fastrand" ,rust-fastrand-1)
@@ -24492,14 +24521,7 @@ (define-public rust-futures-lite-1
("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))))
+ (("rust-spin-on" ,rust-spin-on-0.1))))))
(define-public rust-futures-lite-0.1
(package
--
2.41.0
next prev parent reply other threads:[~2024-01-30 16:03 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1706630137.git.herman@rimm.ee>
2024-01-30 16:00 ` [bug#68819] [PATCH 18/49] gnu: Add rust-async-pidfd-0.1 Herman Rimm via Guix-patches via
2024-01-30 16:00 ` Herman Rimm via Guix-patches via [this message]
2024-01-30 16:00 ` [bug#68819] [PATCH 24/49] gnu: Add rust-wayrs-scanner-0.13 Herman Rimm via Guix-patches via
2024-01-30 16:00 ` [bug#68819] [PATCH 27/49] gnu: Add rust-event-listener-4 Herman Rimm via Guix-patches via
2024-01-30 16:00 ` [bug#68819] [PATCH 30/49] gnu: Add rust-async-lock-3 Herman Rimm via Guix-patches via
2024-01-30 16:00 ` [bug#68819] [PATCH 33/49] gnu: Add rust-xdg-home-1 Herman Rimm via Guix-patches via
2024-01-30 16:00 ` [bug#68819] [PATCH 34/49] gnu: Add rust-async-signal-0.2 Herman Rimm via Guix-patches via
2024-01-30 16:00 ` [bug#68819] [PATCH 36/49] gnu: rust-async-process-1: Update to 1.8.1 Herman Rimm via Guix-patches via
2024-01-30 16:00 ` [bug#68819] [PATCH 38/49] gnu: rust-zbus-3: Update to 3.14.1 Herman Rimm via Guix-patches via
2024-01-30 16:00 ` [bug#68819] [PATCH 40/49] gnu: i3status-rust: Update to 0.32.3 Herman Rimm via Guix-patches via
2024-01-30 16:00 ` [bug#68819] [PATCH 43/49] gnu: Remove rust-notmuch-0.6 Herman Rimm via Guix-patches via
2024-01-30 16:00 ` [bug#68819] [PATCH 46/49] gnu: Remove rust-buffering-0.3 Herman Rimm via Guix-patches via
2024-01-30 16:00 ` [bug#68819] [PATCH 47/49] gnu: Remove rust-supercow-0.1 Herman Rimm via Guix-patches via
2024-01-30 16:00 ` [bug#68819] [PATCH 49/49] gnu: Remove rust-ordered-stream-0.1 Herman Rimm via Guix-patches via
2024-01-30 15:03 [bug#68819] [PATCH 00/49 rust-team] Update i3status-rust to 0.32.3 Herman Rimm via Guix-patches via
2024-01-30 15:25 ` [bug#68819] [PATCH 20/49] gnu: Add rust-futures-lite-2 Herman Rimm via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=df05d81ac74d035d0af1ad0db26481c46305f3e0.1706630138.git.herman@rimm.ee \
--to=guix-patches@gnu.org \
--cc=68819@debbugs.gnu.org \
--cc=efraim@flashner.co.il \
--cc=herman@rimm.ee \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.