guix-commits
[Top][All Lists]
Advanced

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

181/311: gnu: Add rust-tokio-uring-0.4.


From: guix-commits
Subject: 181/311: gnu: Add rust-tokio-uring-0.4.
Date: Sat, 28 Oct 2023 16:39:01 -0400 (EDT)

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

commit 8f3b98bc837d1c659f1a33869213f46f85c3da56
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Oct 25 09:58:29 2023 +0300

    gnu: Add rust-tokio-uring-0.4.
    
    * gnu/packages/crates-io.scm (rust-tokio-uring-0.4): New variable.
    
    Change-Id: I2d93d6537eb6c6357982cd854a821401908ec479
---
 gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e06f3f62c2..e5f1541172 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78836,6 +78836,41 @@ stream-based WebSocket implementation.")
     (description "Unix Domain sockets for Tokio.")
     (license license:expat)))
 
+(define-public rust-tokio-uring-0.4
+  (package
+    (name "rust-tokio-uring")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "tokio-uring" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1vsmw482n01lj33dr7rnjxmdcdhq5yys6rbwahx0n0vy2fxh4phd"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-test-flags
+       (list "--release" "--"
+             "--skip=vectored_write")
+       #:cargo-inputs (("rust-bytes" ,rust-bytes-1)
+                       ("rust-io-uring" ,rust-io-uring-0.5)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-scoped-tls" ,rust-scoped-tls-1)
+                       ("rust-slab" ,rust-slab-0.4)
+                       ("rust-socket2" ,rust-socket2-0.4)
+                       ("rust-tokio" ,rust-tokio-1))
+       #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.4)
+                                   ("rust-futures" ,rust-futures-0.3)
+                                   ("rust-iai" ,rust-iai-0.1)
+                                   ("rust-tempfile" ,rust-tempfile-3)
+                                   ("rust-tokio" ,rust-tokio-1)
+                                   ("rust-tokio-test" ,rust-tokio-test-0.4))))
+    (home-page "https://tokio.rs";)
+    (synopsis "io-uring support for the Tokio asynchronous runtime")
+    (description
+     "This package provides io-uring support for the Tokio asynchronous 
runtime.")
+    (license license:expat)))
+
 (define-public rust-tokio-util-0.7
   (package
     (name "rust-tokio-util")



reply via email to

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