guix-commits
[Top][All Lists]
Advanced

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

74/422: gnu: rust-tokio-1: Update to 1.40.0.


From: guix-commits
Subject: 74/422: gnu: rust-tokio-1: Update to 1.40.0.
Date: Wed, 6 Nov 2024 04:01:34 -0500 (EST)

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

commit 4df51ccecca9ed65beb8a1bd207d351d97a22b60
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Sep 19 13:40:17 2024 +0300

    gnu: rust-tokio-1: Update to 1.40.0.
    
    * gnu/packages/crates-io.scm (rust-tokio-1): Update to 1.40.0.
    [arguments]: Add cargo-test-flags.
    [cargo-inputs]: Replace rust-mio-0.8 with 1, rust-windows-sys-0.48 with
    0.52.  Remove rust-num-cpus-1.
    [cargo-development-inputs]: Replace rust-mio-aio-0.8 with 0.9,
    rust-nix-0.27 with 0.29, rust-windows-sys-0.48 with 0.52.
    
    Change-Id: I840ce4139dd6a0046256a6a1d90f6271dc37ff0d
---
 gnu/packages/crates-io.scm | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 45af306c62..224c21a1c5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -81929,45 +81929,47 @@ tinyobjloader.")
 (define-public rust-tokio-1
   (package
     (name "rust-tokio")
-    (version "1.36.0")
+    (version "1.40.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "tokio" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0c89p36zbd4abr1z3l5mipp43x7z4c9b4vp4s6r8y0gs2mjmya31"))))
+        (base32 "166rllhfkyqp0fs7sxn6crv74iizi4wzd3cvxkcpmlk52qip1c72"))))
     (build-system cargo-build-system)
     (arguments
-     (list #:tests? #f  ; unresolved imports `crate::runtime::task`
+     (list #:cargo-test-flags
+           '(list "--release" "--features=full")
+           ;; no method named `start_paused` found for struct 
`tokio::runtime::Builder`
+           #:tests? #f
            #:cargo-inputs
            `(("rust-backtrace" ,rust-backtrace-0.3)
              ("rust-bytes" ,rust-bytes-1)
              ("rust-libc" ,rust-libc-0.2)
-             ("rust-mio" ,rust-mio-0.8)
-             ("rust-num-cpus" ,rust-num-cpus-1)
+             ("rust-mio" ,rust-mio-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.5)
              ("rust-tokio-macros" ,rust-tokio-macros-2)
              ("rust-tracing" ,rust-tracing-0.1)
-             ("rust-windows-sys" ,rust-windows-sys-0.48))
+             ("rust-windows-sys" ,rust-windows-sys-0.52))
            #: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.8)
+             ("rust-mio-aio" ,rust-mio-aio-0.9)
              ("rust-mockall" ,rust-mockall-0.11)
-             ("rust-nix" ,rust-nix-0.27)
+             ("rust-nix" ,rust-nix-0.29)
              ("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))))
+             ("rust-windows-sys" ,rust-windows-sys-0.52))))
     (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]