diff options
author | VÖRÖSKŐI András <[email protected]> | 2023-11-11 16:35:15 +0100 |
---|---|---|
committer | Efraim Flashner <[email protected]> | 2024-02-20 13:56:27 +0200 |
commit | 47db81d8c6763698c452b5b4ca4b5ca3fe53fac0 (patch) | |
tree | 50bb8c01a076cc5e3cb8c33020f8b3a36b835fff | |
parent | 9d2e93d71de585857e06630899f21ac03a3366cf (diff) |
gnu: Add rust-borsh-0.10.
* gnu/packages/crates-io.scm (rust-borsh-0.10): New variable.
Change-Id: Ib622fc9af07092dfa8f7a81a3816586999716c12
Signed-off-by: Efraim Flashner <[email protected]>
-rw-r--r-- | gnu/packages/crates-io.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 40be0f673f..e2dd7e95ec 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -9496,6 +9496,34 @@ programs.") (description "Blowfish block cipher") (license (list license:expat license:asl2.0)))) +(define-public rust-borsh-0.10 + (package + (name "rust-borsh") + (version "0.10.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "borsh" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0sq4l9jfik5dmpy1islcj40bing1jkji2q1qbrkvq1d02n92f521")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; the trait bound `BytesMut: BorshSerialize` is not satisfied + #:cargo-inputs + (("rust-borsh-derive" ,rust-borsh-derive-0.10) + ("rust-bytes" ,rust-bytes-1) + ("rust-hashbrown" ,rust-hashbrown-0.13)) + #:cargo-development-inputs + (("rust-bytes" ,rust-bytes-1)))) + (home-page "https://borsh.io") + (synopsis "Borsch is the binary object representation serializer for hashing") + (description "This crate implements @code{borsh}, the binary object +representation serializer for hasing. It is meant to be used in +security-critical projects as it prioritizes consistency, safety, speed, and +comes with a strict specification.") + (license (list license:expat license:asl2.0)))) + (define-public rust-borsh-derive-0.10 (package (name "rust-borsh-derive") |