[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
18/32: gnu: Add rust-async-io-1 and rust-async-net-1.
From: |
guix-commits |
Subject: |
18/32: gnu: Add rust-async-io-1 and rust-async-net-1. |
Date: |
Mon, 4 Jan 2021 13:33:06 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit 5b15b42e3f90aea14bbbba38d2bb26574059daa8
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon Dec 21 00:36:03 2020 +0100
gnu: Add rust-async-io-1 and rust-async-net-1.
* gnu/packages/crates-io.scm (rust-async-io-1):
(rust-async-net-1): New variables.
---
gnu/packages/crates-io.scm | 67 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 67 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f3f0396..71f8eeb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1315,6 +1315,49 @@ Rust.")
and Rust's modern asynchronous IO types.")
(license (list license:expat license:asl2.0))))
+(define-public rust-async-io-1
+ (package
+ (name "rust-async-io")
+ (version "1.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "async-io" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1zg0bvb58615qar6ih3ddr1cyjh0fsrfdhpy90z1qxjnfpqgh5ck"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-concurrent-queue" ,rust-concurrent-queue-1)
+ ("rust-fastrand" ,rust-fastrand-1)
+ ("rust-futures-lite" ,rust-futures-lite-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-nb-connect" ,rust-nb-connect-1)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-parking" ,rust-parking-2)
+ ("rust-polling" ,rust-polling-2)
+ ("rust-vec-arena" ,rust-vec-arena-1)
+ ("rust-waker-fn" ,rust-waker-fn-1)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs
+ (("rust-async-channel" ,rust-async-channel-1)
+ ("rust-async-net" ,rust-async-net-1)
+ ("rust-inotify" ,rust-inotify-0.8)
+ ("rust-nix" ,rust-nix-0.18)
+ ("rust-signal-hook" ,rust-signal-hook-0.1)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-timerfd" ,rust-timerfd-1)
+ ("rust-uds-windows" ,rust-uds-windows-0.1))))
+ (home-page "https://github.com/stjepang/async-io")
+ (synopsis "Async I/O and timers")
+ (description
+ "This crate provides two tools: Async, an adapter for standard networking
+types (and many other types) to use in async programs, and Timer, a future
+that expires at a point in time.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-async-log-1
(package
(name "rust-async-log")
@@ -1388,6 +1431,30 @@ crate.")
(description "Macros for async-std.")
(license (list license:expat license:asl2.0))))
+(define-public rust-async-net-1
+ (package
+ (name "rust-async-net")
+ (version "1.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "async-net" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1rgvvqb1l86hawl1j0jfyzq35yracbbh29109131izmghmf4gph6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-async-io" ,rust-async-io-1)
+ ("rust-blocking" ,rust-blocking-1)
+ ("rust-fastrand" ,rust-fastrand-1)
+ ("rust-futures-lite" ,rust-futures-lite-1))))
+ (home-page "https://github.com/stjepang/async-net")
+ (synopsis "Async networking primitives for TCP/UDP/Unix communication")
+ (description
+ "Async networking primitives for TCP/UDP/Unix communication")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-async-std-0.99
(package
(name "rust-async-std")
- 08/32: gnu: Add rust-random-fast-rng-0.1., (continued)
- 08/32: gnu: Add rust-random-fast-rng-0.1., guix-commits, 2021/01/04
- 09/32: gnu: Add rust-randomize-4., guix-commits, 2021/01/04
- 11/32: gnu: rust-signal-hook-0.1: Update to 0.1.16., guix-commits, 2021/01/04
- 12/32: gnu: Add rust-inotify-0.8., guix-commits, 2021/01/04
- 03/32: gnu: Add rust-nb-connect-1., guix-commits, 2021/01/04
- 13/32: gnu: Add rust-timerfd-1., guix-commits, 2021/01/04
- 06/32: gnu: Add rust-getrandom-0.2., guix-commits, 2021/01/04
- 22/32: gnu: Add rust-parking-1., guix-commits, 2021/01/04
- 21/32: gnu: Add rust-wepoll-sys-stjepang-1., guix-commits, 2021/01/04
- 30/32: gnu: Add rust-async-process-1., guix-commits, 2021/01/04
- 18/32: gnu: Add rust-async-io-1 and rust-async-net-1.,
guix-commits <=
- 27/32: gnu: Add rust-smol-0.1., guix-commits, 2021/01/04
- 15/32: gnu: Add rust-flume-0.10., guix-commits, 2021/01/04
- 10/32: gnu: Add rust-nanorand-0.5., guix-commits, 2021/01/04
- 14/32: gnu: Add rust-uds-windows-0.1., guix-commits, 2021/01/04
- 16/32: gnu: Add rust-async-task-4., guix-commits, 2021/01/04
- 20/32: gnu: Add rust-async-global-executor-1., guix-commits, 2021/01/04
- 23/32: gnu: Add rust-futures-lite-0.1., guix-commits, 2021/01/04
- 29/32: gnu: Add rust-async-mutex-1., guix-commits, 2021/01/04
- 32/32: gnu: Add rust-gloo-timers-0.2., guix-commits, 2021/01/04
- 24/32: gnu: Add rust-blocking-0.4., guix-commits, 2021/01/04