gnu: rust-tokio-util: Add 0.7.4.

* gnu/packages/crates-io.scm (rust-tokio-util-0.7): New variable.
(rust-tokio-util-0.6): Inherit from it.
This commit is contained in:
Marius Bakke 2022-12-04 13:39:45 +01:00 committed by Maxim Cournoyer
parent 8e2ee145cc
commit 784dffe129
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -62132,8 +62132,40 @@ (define-public rust-tokio-uds-0.2
(description "Unix Domain sockets for Tokio.")
(license license:expat)))
(define-public rust-tokio-util-0.7
(package
(name "rust-tokio-util")
(version "0.7.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "tokio-util" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0h67jb56bsxy4pi1a41pda8d52569ci5clvqv3c6cg9vy1sy1chb"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-bytes" ,rust-bytes-1)
("rust-futures-core" ,rust-futures-core-0.3)
("rust-futures-io" ,rust-futures-io-0.3)
("rust-futures-sink" ,rust-futures-sink-0.3)
("rust-futures-util" ,rust-futures-util-0.3)
("rust-hashbrown" ,rust-hashbrown-0.12)
("rust-pin-project-lite" ,rust-pin-project-lite-0.2)
("rust-slab" ,rust-slab-0.4)
("rust-tokio" ,rust-tokio-1)
("rust-tracing" ,rust-tracing-0.1))))
(home-page "https://tokio.rs")
(synopsis "Additional utilities for working with Tokio")
(description
"This package provides additional utilities for working with Tokio.")
(license license:expat)))
(define-public rust-tokio-util-0.6
(package
(inherit rust-tokio-util-0.7)
(name "rust-tokio-util")
(version "0.6.4")
(source
@ -62143,7 +62175,6 @@ (define-public rust-tokio-util-0.6
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0agvfvvgh225vgb2z9w83lwqcqsy3pvkcbvnaz7m7rj6dg6facgc"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@ -62155,12 +62186,7 @@ (define-public rust-tokio-util-0.6
("rust-log" ,rust-log-0.4)
("rust-pin-project-lite" ,rust-pin-project-lite-0.2)
("rust-slab" ,rust-slab-0.4)
("rust-tokio" ,rust-tokio-1))))
(home-page "https://tokio.rs")
(synopsis "Additional utilities for working with Tokio")
(description
"This package provides additional utilities for working with Tokio.")
(license license:expat)))
("rust-tokio" ,rust-tokio-1))))))
(define-public rust-tokio-util-0.4
(package