diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2023-03-22 21:48:08 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-05-07 19:29:30 +0300 |
commit | 449d70bfbfc13f179ea072ba1c3a468163fd4eee (patch) | |
tree | 0fe8f5c9b441c764a24f8ff8424736768839ae7c /gnu/packages | |
parent | 1739b5b1ea1fb091dc909d05564c566f36c33111 (diff) | |
download | guix-449d70bfbfc13f179ea072ba1c3a468163fd4eee.tar.gz |
gnu: Add rust-castaway-0.2.
* gnu/packages/crates-io.scm (rust-castaway-0.2): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 24 |
1 files changed, 24 insertions, 0 deletions
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") |