guix-commits
[Top][All Lists]
Advanced

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

342/475: gnu: Add rust-castaway-0.2.


From: guix-commits
Subject: 342/475: gnu: Add rust-castaway-0.2.
Date: Sun, 7 May 2023 12:48:04 -0400 (EDT)

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

commit 449d70bfbfc13f179ea072ba1c3a468163fd4eee
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Mar 22 21:48:08 2023 +0100

    gnu: Add rust-castaway-0.2.
    
    * gnu/packages/crates-io.scm (rust-castaway-0.2): New variable.
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 67488469bb..f7dd507f25 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10226,6 +10226,30 @@ box''.")
        #:cargo-development-inputs
        (("rust-quickcheck" ,rust-quickcheck-0.9))))))
 
+(define-public rust-castaway-0.2
+  (package
+    (name "rust-castaway")
+    (version "0.2.2")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "castaway" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1k1z4v61vq7la56js1azkr0k9b415vif2kaxiqk3d1gw6mbfs5wa"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-rustversion" ,rust-rustversion-1))
+       #:cargo-development-inputs
+       (("rust-paste" ,rust-paste-1))))
+    (home-page "https://github.com/sagebind/castaway";)
+    (synopsis "Zero-cost downcasting for limited compile-time specialization")
+    (description
+     "This is an experimental library that implements zero-cost downcasting of
+types that works on stable Rust.")
+    (license license:expat)))
+
 (define-public rust-cblas-sys-0.1
   (package
     (name "rust-cblas-sys")



reply via email to

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