summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTomas Volf <~@wolfsden.cz>2024-02-15 21:26:24 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:58:56 +0200
commitcb5b092c09decb609c0ffe55cb378e80f8b2286f (patch)
treede99772312ce27ce3bb9b54bc8cfd867d94a7bb0 /gnu
parentac1e5a3fcde22e30fbef843588e68a2f8ce87d0e (diff)
gnu: rust-async-stream-0.3: Update to 0.3.5.
* gnu/packages/crates-io.scm (rust-async-stream-0.3): Update to 0.3.5. [source]: Add snippet to add missing dev-dependency. [cargo-inputs]: Add rust-pin-project-lite-0.2. [cargo-development-inputs]: Add rust-rustversion-1. Change-Id: I037a89b68411da12b2e31f735a879b17cec672ff Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm18
1 files changed, 15 insertions, 3 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d4a3ce52ee..6c4739fb9e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4774,23 +4774,35 @@ interfaces you are used to, but in an async version and ready for Rust's
(define-public rust-async-stream-0.3
(package
(name "rust-async-stream")
- (version "0.3.2")
+ (version "0.3.5")
(source
(origin
(method url-fetch)
(uri (crate-uri "async-stream" version))
(file-name (string-append name "-" version ".tar.gz"))
+ ;; I have no idea why tokio-test is missing, I filed:
+ ;; https://github.com/tokio-rs/async-stream/issues/102
+ (modules '((guix build utils)))
+ (snippet
+ '(substitute* "Cargo.toml"
+ (("^\\[dev-dependencies.trybuild]")
+ "[dev-dependencies.tokio-test]
+version = \"0.4\"
+
+[dev-dependencies.trybuild]")))
(sha256
- (base32 "0986b72jksg4lndw76py9glry3snc29bbqrna874wl5jwgkp84qp"))))
+ (base32 "0l8sjq1rylkb1ak0pdyjn83b3k6x36j22myngl4sqqgg7whdsmnd"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-test-flags '("--release" "--"
"--skip=test")
#:cargo-inputs
(("rust-async-stream-impl" ,rust-async-stream-impl-0.3)
- ("rust-futures-core" ,rust-futures-core-0.3))
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-pin-project-lite" ,rust-pin-project-lite-0.2))
#:cargo-development-inputs
(("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-rustversion" ,rust-rustversion-1)
("rust-tokio" ,rust-tokio-1)
("rust-tokio-test" ,rust-tokio-test-0.4)
("rust-trybuild" ,rust-trybuild-1))))