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.
This commit is contained in:
Efraim Flashner 2023-10-24 08:45:14 +03:00
parent 783a58b5a5
commit 736bc7236d
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -9158,24 +9158,28 @@ (define-public rust-block-sys-0.1
(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