diff options
author | Efraim Flashner <[email protected]> | 2024-12-26 11:44:59 +0200 |
---|---|---|
committer | Efraim Flashner <[email protected]> | 2025-01-06 12:19:24 +0200 |
commit | de4c36b64bece3b5c8486635f3651dedc041ac49 (patch) | |
tree | eaebf8d30c3356cc50022100af83b48f49a9b1df | |
parent | 85b2a7aea2db11745e97a018ae610d09de897316 (diff) |
gnu: Add rust-checked-int-cast-1.
* gnu/packages/crates-io.scm (rust-checked-int-cast-1): New variable.
Change-Id: I54e7f6d09aeb1feba48d14ec23030db11152ec69
-rw-r--r-- | gnu/packages/crates-io.scm | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 768ecba0ab..df9f14d0ce 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -13453,6 +13453,25 @@ by providing decoding for UTF-7 in addition to the encodings defined by the Encoding Standard.") (license (list license:expat license:asl2.0)))) +(define-public rust-checked-int-cast-1 + (package + (name "rust-checked-int-cast") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "checked_int_cast" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "06brva5agm6g12q15f8fidz17akb85q211496p1k2qxhb9mmxk0p")))) + (build-system cargo-build-system) + (home-page "https://github.com/PeterReid/checked_int_cast") + (synopsis "Conversions between primitive integers") + (description + "This package provides conversions between primitive integers with +overflow and underflow checking.") + (license license:expat))) + (define-public rust-chic-1 (package (name "rust-chic") |