diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-10-02 08:08:22 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-10-18 11:36:00 +0300 |
commit | e903a207e024b00650e5d449a57f58bc7ae59172 (patch) | |
tree | 5b9410e968b3405b441352a77558d29a1de18224 /gnu/packages/crates-io.scm | |
parent | 7516b300a5bd913371ced5bcd6739e9b63f2b9b7 (diff) | |
download | guix-e903a207e024b00650e5d449a57f58bc7ae59172.tar.gz guix-e903a207e024b00650e5d449a57f58bc7ae59172.zip |
gnu: rust-tokio-1: Update to 1.32.0.
* gnu/packages/crates-io.scm (rust-tokio-1): Update to 1.32.0.
[arguments]: Don't skip build. Skip tests.
[cargo-inputs]: Add rust-backtrace-0.3. Replace rust-socket2-0.4 with
0.5, rust-tokio-macros-1 with 2, rust-windows-sys-0.45 with 0.48.
Remove rust-autocfg-1.
[cargo-development-inputs]: Add rust-async-stream-0.3, rust-futures-0.3,
rust-libc-0.2, rust-loom-0.7, rust-mio-aio-0.7, rust-mockall-0.11,
rust-nix-0.26, rust-rand-0.8, rust-socket2-0.5, rust-tempfile-3,
rust-tokio-stream-0.1, rust-tokio-test-0.4, rust-wasm-bindgen-test-0.3,
rust-windows-sys-0.48.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 30 |
1 files changed, 22 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a8b80d4d55..630f3e3d0b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -71015,31 +71015,45 @@ tinyobjloader.") (define-public rust-tokio-1 (package (name "rust-tokio") - (version "1.26.0") + (version "1.32.0") (source (origin (method url-fetch) (uri (crate-uri "tokio" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0r3gnz0zh669q9jm7xh8dz7irbnxjddbbrfflp42jyn2qc0is803")))) + (base32 "1yck1349q23l22bgxcbqd3wkaffw2vmkf7z26m3wgmkcxmvn1v8p")))) (build-system cargo-build-system) (arguments - (list #:skip-build? #t + (list #:tests? #f ; unresolved imports `crate::runtime::task` #:cargo-inputs - `(("rust-autocfg" ,rust-autocfg-1) + `(("rust-backtrace" ,rust-backtrace-0.3) ("rust-bytes" ,rust-bytes-1) ("rust-libc" ,rust-libc-0.2) - ("rust-memchr" ,rust-memchr-2) ("rust-mio" ,rust-mio-0.8) ("rust-num-cpus" ,rust-num-cpus-1) ("rust-parking-lot" ,rust-parking-lot-0.12) ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) ("rust-signal-hook-registry" ,rust-signal-hook-registry-1) - ("rust-socket2" ,rust-socket2-0.4) - ("rust-tokio-macros" ,rust-tokio-macros-1) + ("rust-socket2" ,rust-socket2-0.5) + ("rust-tokio-macros" ,rust-tokio-macros-2) ("rust-tracing" ,rust-tracing-0.1) - ("rust-windows-sys" ,rust-windows-sys-0.45)))) + ("rust-windows-sys" ,rust-windows-sys-0.48)) + #:cargo-development-inputs + `(("rust-async-stream" ,rust-async-stream-0.3) + ("rust-futures" ,rust-futures-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-loom" ,rust-loom-0.7) + ("rust-mio-aio" ,rust-mio-aio-0.7) + ("rust-mockall" ,rust-mockall-0.11) + ("rust-nix" ,rust-nix-0.26) + ("rust-rand" ,rust-rand-0.8) + ("rust-socket2" ,rust-socket2-0.5) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-tokio-stream" ,rust-tokio-stream-0.1) + ("rust-tokio-test" ,rust-tokio-test-0.4) + ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3) + ("rust-windows-sys" ,rust-windows-sys-0.48)))) (home-page "https://tokio.rs") (synopsis "Event-driven, non-blocking I/O platform") (description |