diff options
author | Raghav Gururajan <raghavgururajan@disroot.org> | 2020-07-08 14:44:49 -0400 |
---|---|---|
committer | Danny Milosavljevic <dannym@scratchpost.org> | 2020-08-19 01:14:43 +0200 |
commit | 8c6b127bea33dcad31079a2f7622dae3dd5b2e07 (patch) | |
tree | 01b0fbdb822ed975bb64173e7540b83441c70f19 /gnu | |
parent | cb9fd8de864ddd2e0841c98fb34a8dc69e32cdc2 (diff) |
gnu: Add rust-downcast-rs@1.2.0.
* gnu/packages/crates-io.scm (rust-downcast-rs-1.2): New variable.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0200b28734..5b05940bd5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -6085,6 +6085,27 @@ from macros.") parameters, associated types, and type constraints.") (license (list license:expat license:asl2.0)))) +(define-public rust-downcast-rs-1.2 + (package + (name "rust-downcast-rs") + (version "1.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "downcast-rs" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0l36kgxqd5djhqwf5abxjmgasdw8n0qsjvw3jdvhi91nj393ba4y")))) + (build-system cargo-build-system) + (home-page "https://github.com/marcianx/downcast-rs") + (synopsis "Trait object downcasting support using only safe Rust") + (description + "Trait object downcasting support using only safe Rust. It supports type +parameters, associated types, and type constraints.") + (license (list license:expat license:asl2.0)))) + (define-public rust-dogged-0.2 (package (name "rust-dogged") |