summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-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")