diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-10-24 08:45:14 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-11-28 07:58:16 +0200 |
commit | 736bc7236d4cf5e06d66516213657cc831f614b8 (patch) | |
tree | 591d65fa64217c7fc7359eea365e27d12c4e328d | |
parent | 783a58b5a552aeeddca110262716b03d590b5d6a (diff) | |
download | guix-736bc7236d4cf5e06d66516213657cc831f614b8.tar.gz |
gnu: rust-blocking-1: Update to 1.4.1.
* gnu/packages/crates-io.scm (rust-blocking-1): Update to 1.4.1. [cargo-inputs]: Add rust-async-lock-2, rust-futures-io-0.3, rust-piper-0.2, rust-tracing-0.1. Replace rust-fastrand-1 with 2. Remove rust-atomic-waker-1, rust-once-cell-1. [cargo-development-inputs]: Add rust-futures-lite-1. [home-page]: Update to new home-page.
-rw-r--r-- | gnu/packages/crates-io.scm | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3fa2dabb3b..dbfa0bd03f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -9158,24 +9158,28 @@ extension of blocks.") (define-public rust-blocking-1 (package (name "rust-blocking") - (version "1.0.2") + (version "1.4.1") (source (origin (method url-fetch) (uri (crate-uri "blocking" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1s9myg9gqmwzrbc38p23bh4vkc8w4pbpddqrcrrl1xz1xpdp1qf5")))) + (base32 "0aiy8y524jvxl942hh5naxjjn7b5rjapsjqb6vfv6x45sk8a8dlc")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-async-channel" ,rust-async-channel-1) + ("rust-async-lock" ,rust-async-lock-2) ("rust-async-task" ,rust-async-task-4) - ("rust-atomic-waker" ,rust-atomic-waker-1) - ("rust-fastrand" ,rust-fastrand-1) + ("rust-fastrand" ,rust-fastrand-2) + ("rust-futures-io" ,rust-futures-io-0.3) ("rust-futures-lite" ,rust-futures-lite-1) - ("rust-once-cell" ,rust-once-cell-1)))) - (home-page "https://github.com/stjepang/blocking") + ("rust-piper" ,rust-piper-0.2) + ("rust-tracing" ,rust-tracing-0.1)) + #:cargo-development-inputs + (("rust-futures-lite" ,rust-futures-lite-1)))) + (home-page "https://github.com/smol-rs/blocking") (synopsis "Thread pool for isolating blocking I/O in async programs") (description "This package provides a thread pool for isolating blocking I/O in async |