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.
This commit is contained in:
Efraim Flashner 2023-10-02 08:08:22 +03:00
parent 7516b300a5
commit e903a207e0
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -71015,31 +71015,45 @@ (define-public rust-tobj-2
(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