diff options
author | Steve George <steve@futurile.net> | 2023-02-16 22:57:39 +0000 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-02-20 12:21:12 +0200 |
commit | fd7c10681ab2eb3ce3466bc40cafd4013ab09abb (patch) | |
tree | cda5a3c4400888831242f567f2ecca4540f7731e /gnu | |
parent | e8fcf1e42438113d7e4be82dc5a06de45eaceb76 (diff) |
gnu: Add rust-downcast-0.11.
* gnu/packages/crates-io.scm (rust-downcast-0.11): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e615a51b01..1bb55a0a2d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -17761,6 +17761,26 @@ from macros.") @code{Cargo.toml}.") (license (list license:expat license:asl2.0)))) +(define-public rust-downcast-0.11 + (package + (name "rust-downcast") + (version "0.11.0") + (source (origin + (method url-fetch) + (uri (crate-uri "downcast" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1wa78ahlc57wmqyq2ncr80l7plrkgz57xsg7kfzgpcnqac8gld8l")))) + (build-system cargo-build-system) + (home-page "https://github.com/fkoep/downcast-rs") + (synopsis + "Trait for downcasting trait objects back to their original types") + (description + "This package provides a trait, and utilities, for downcasting trait +objects back to their original types. The same as the rust-downcast-rs crate.") + (license license:expat))) + (define-public rust-downcast-rs-1 (package (name "rust-downcast-rs") |