summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-11-05 17:28:45 +0200
committerEfraim Flashner <efraim@flashner.co.il>2023-11-28 07:59:38 +0200
commit30e8725929fe5df491bea879c143cfe7c1742666 (patch)
tree5437b2eccbb343ca63fe38dfb87a0b83cb219ea4
parent2bad4b666c9ef61917875ec1d1f2d96316c65e68 (diff)
gnu: Add rust-runtime-tokio-0.3.
* gnu/packages/crates-io.scm (rust-runtime-tokio-0.3): New variable. Change-Id: Ibd1c95e1cd14126f23e4424dc34296df49c18e8d
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 89bf64fb35..15afc30dc8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -62782,6 +62782,30 @@ please consider using @code{async-std} or @code{tokio}.")
(description "This package provides traits to implement custom Runtimes.")
(license (list license:expat license:asl2.0))))
+(define-public rust-runtime-tokio-0.3
+ (package
+ (name "rust-runtime-tokio")
+ (version "0.3.0-alpha.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "runtime-tokio" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1mf5fyh164i4m5rj1j45hs7dwv1k4m1xckq0apa6y4c99gwzhq3a"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-futures" ,rust-futures-0.1)
+ ("rust-futures-preview" ,rust-futures-preview-0.3)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-mio" ,rust-mio-0.6)
+ ("rust-runtime-raw" ,rust-runtime-raw-0.3)
+ ("rust-tokio" ,rust-tokio-0.1))))
+ (home-page "https://github.com/rustasync/runtime")
+ (synopsis "Tokio-based asynchronous runtime")
+ (description "This package provides a Tokio-based asynchronous runtime.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-rusqlite-0.29
(package
(name "rust-rusqlite")