guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

110/194: gnu: rust-tokio-1: Update to 1.32.0.


From: guix-commits
Subject: 110/194: gnu: rust-tokio-1: Update to 1.32.0.
Date: Tue, 3 Oct 2023 14:57:40 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit f091a78606d42165d1da4b4e74755818d0d1203b
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Oct 2 08:08:22 2023 +0300

    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.
---
 gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++--------
 1 file changed, 22 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2cec8b332f..4c63daf724 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -70953,31 +70953,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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]