diff options
Diffstat (limited to 'gnu/packages/crates-io.scm')
-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") |