summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-08-29 12:26:57 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-08-29 15:05:22 +0300
commite8b3d8b0ea97d4587d5334ba3fce14516b14f7e0 (patch)
treecef11109dbe12cca0ba23db2cfacb32521e4ed9f
parentb494f1718716f09c5623cd031d9280da6985b12b (diff)
downloadguix-e8b3d8b0ea97d4587d5334ba3fce14516b14f7e0.tar.gz
gnu: Add rust-unsafe-any.
* gnu/packages/crates-io.scm (rust-unsafe-any): New variable.
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9e17b89c55..57f1ddf74e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1909,6 +1909,28 @@ whitespace from a string.")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-unsafe-any
+  (package
+    (name "rust-unsafe-any")
+    (version "0.4.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "unsafe-any" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "0zwwphsqkw5qaiqmjwngnfpv9ym85qcsyj7adip9qplzjzbn00zk"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-traitobject" ,rust-traitobject))))
+    (home-page "https://tokio.rs")
+    (synopsis "Traits and implementations for unchecked downcasting")
+    (description
+     "Traits and implementations for unchecked downcasting.")
+    (license license:expat)))
+
 (define-public rust-untrusted
   (package
     (name "rust-untrusted")