From a227d37ca440be2bb442f7eb5942631f51c90225 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 24 Oct 2023 09:10:38 +0300 Subject: [PATCH] gnu: Add rust-faster-hex-0.8. * gnu/packages/crates-io.scm (rust-faster-hex-0.8): New variable. Change-Id: I03865bdfad13f371c55dd4604f25e70e52e3dcaa --- gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 12a0c69b5a..e9602dd821 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -25366,6 +25366,34 @@ is defined in the HTML specification.") floats.") (license (list license:expat license:asl2.0)))) +(define-public rust-faster-hex-0.8 + (package + (name "rust-faster-hex") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "faster-hex" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "12ikld53h5d682rn1j85d77n90pq4vy5mncwdaqhm0hgjgxpp7r3")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-bytes" ,rust-bytes-1) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-hex" ,rust-hex-0.3) + ("rust-proptest" ,rust-proptest-1) + ("rust-rustc-hex" ,rust-rustc-hex-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/nervosnetwork/faster-hex") + (synopsis "Fast hex encoding") + (description "Fast hex encoding.") + (license license:expat))) + (define-public rust-fastq-0.6 (package (name "rust-fastq")