summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-19 22:46:34 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-03 22:06:28 +0100
commit6958eb58e9b26e9f3172c40e8115667c9167d05d (patch)
treeb1878a41ff2952eb01eeca49e603876fe3c3dd0b /gnu/packages
parent319e48794c50822e463ad34d23bb1872b0d6b22c (diff)
gnu: Add rust-tokio-util-0.2.
* gnu/packages/crates-io.scm (rust-tokio-util-0.2): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 77e8ad63ed..e0b3ca6a49 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33806,6 +33806,32 @@ implementation of TLS for nonblocking I/O streams.")
Tokio.")
(license license:expat)))
+(define-public rust-tokio-util-0.2
+ (package
+ (inherit rust-tokio-util-0.3)
+ (name "rust-tokio-util")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tokio-util" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0c39s4y0kvzkyarn1f9s8khqyajiqn7m4cjsa208f87ch88sa7ap"))))
+ (arguments
+ `(#:tests? #f
+ #:cargo-inputs
+ (("rust-bytes" ,rust-bytes-0.5)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-futures-sink" ,rust-futures-sink-0.3)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-pin-project-lite" ,rust-pin-project-lite-0.1)
+ ("rust-tokio" ,rust-tokio-0.2))
+ #:cargo-development-inputs
+ (("rust-futures" ,rust-futures-0.3)
+ ("rust-tokio" ,rust-tokio-0.2)
+ ("rust-tokio-test" ,rust-tokio-test-0.2))))))
+
(define-public rust-toml-0.5
(package
(name "rust-toml")