From 09351a8f9f023edf034e044d075e32cbb6088cce Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Wed, 19 Jan 2022 11:42:03 +0100 Subject: gnu: rust-tokio-1: Update to 1.15.0. * gnu/packages/crates-io.scm (rust-tokio-1): Update to 1.15.0. (rust-tokio-1.8): Inherit from above. --- gnu/packages/crates-io.scm | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 24a33ce7d2..b4680eb374 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -57525,10 +57525,10 @@ to a style defined by John Gruber for post titles on his website ``Daring Fireball''.") (license license:expat))) -(define-public rust-tokio-1.8 +(define-public rust-tokio-1 (package (name "rust-tokio") - (version "1.8.0") + (version "1.15.0") (source (origin (method url-fetch) @@ -57536,12 +57536,13 @@ Fireball''.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1m18rs51wz6s7dwdwzr0j63kh815x4dx9k0f2c485crs7fqjw32p")))) + "0f2qwp9ljc4gf955g7qcksp0jc1bwmzxb2nf6mb7h1n2irvirgzv")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs - (("rust-bytes" ,rust-bytes-1) + (("rust-autocfg" ,rust-autocfg-1) + ("rust-bytes" ,rust-bytes-1) ("rust-libc" ,rust-libc-0.2) ("rust-memchr" ,rust-memchr-2) ("rust-mio" ,rust-mio-0.7) @@ -57552,16 +57553,7 @@ Fireball''.") ("rust-signal-hook-registry" ,rust-signal-hook-registry-1) ("rust-tokio-macros" ,rust-tokio-macros-1) ("rust-tracing" ,rust-tracing-0.1) - ("rust-winapi" ,rust-winapi-0.3)) - #:cargo-development-inputs - (("rust-async-stream" ,rust-async-stream-0.3) - ("rust-autocfg" ,rust-autocfg-1) - ("rust-nix" ,rust-nix-0.19) - ("rust-futures" ,rust-futures-0.3) - ("rust-proptest" ,rust-proptest-1) - ("rust-sokcet2-0.4" ,rust-socket2-0.4) - ("rust-tokio-stream" ,rust-tokio-stream-0.1) - ("rust-tokio-test" ,rust-tokio-test-0.4)))) + ("rust-winapi" ,rust-winapi-0.3)))) (home-page "https://tokio.rs") (synopsis "Event-driven, non-blocking I/O platform") (description @@ -57569,11 +57561,11 @@ Fireball''.") writing asynchronous I/O backed applications.") (license license:expat))) -(define-public rust-tokio-1 +(define-public rust-tokio-1.8 (package - (inherit rust-tokio-1.8) + (inherit rust-tokio-1) (name "rust-tokio") - (version "1.2.0") + (version "1.8.0") (source (origin (method url-fetch) @@ -57581,12 +57573,11 @@ writing asynchronous I/O backed applications.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0fmfykdp29hjq5264mp6sa4c0wp5mlimbi0dd9mrxsk5qq20s6g8")))) + "1m18rs51wz6s7dwdwzr0j63kh815x4dx9k0f2c485crs7fqjw32p")))) (arguments `(#:skip-build? #t #:cargo-inputs - (("rust-autocfg" ,rust-autocfg-1) - ("rust-bytes" ,rust-bytes-1) + (("rust-bytes" ,rust-bytes-1) ("rust-libc" ,rust-libc-0.2) ("rust-memchr" ,rust-memchr-2) ("rust-mio" ,rust-mio-0.7) @@ -57597,7 +57588,16 @@ writing asynchronous I/O backed applications.") ("rust-signal-hook-registry" ,rust-signal-hook-registry-1) ("rust-tokio-macros" ,rust-tokio-macros-1) ("rust-tracing" ,rust-tracing-0.1) - ("rust-winapi" ,rust-winapi-0.3)))))) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs + (("rust-async-stream" ,rust-async-stream-0.3) + ("rust-autocfg" ,rust-autocfg-1) + ("rust-nix" ,rust-nix-0.19) + ("rust-futures" ,rust-futures-0.3) + ("rust-proptest" ,rust-proptest-1) + ("rust-sokcet2-0.4" ,rust-socket2-0.4) + ("rust-tokio-stream" ,rust-tokio-stream-0.1) + ("rust-tokio-test" ,rust-tokio-test-0.4)))))) (define-public rust-tokio-0.3 (package -- cgit v1.2.3