diff options
author | Nicolas Graves <[email protected]> | 2024-11-06 00:14:55 +0100 |
---|---|---|
committer | Efraim Flashner <[email protected]> | 2025-01-07 08:57:16 +0200 |
commit | b8f9c51a633fc6fd57218dbdb508e15b946d007f (patch) | |
tree | 61cb159a6c3d8957695a8ced9ce7b14fb3792eb5 | |
parent | 02cd7d758636e0c1cccc61bc7569cf9f3a388a0a (diff) |
gnu: Add rust-hamming-0.1.
* gnu/packages/crates-io.scm (rust-hamming-0.1): New variable.
Signed-off-by: Efraim Flashner <[email protected]>
Change-Id: Ieabfc9a412646f2a4302c04e36bf1933015c4495
-rw-r--r-- | gnu/packages/crates-io.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ef55d0f51c..fcd96e4633 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -30743,6 +30743,30 @@ IEEE 754-2008 binary16 type.") higher performance on different key space sizes.") (license (list license:asl2.0 license:expat)))) +(define-public rust-hamming-0.1 + (package + (name "rust-hamming") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "hamming" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1q9hri1l1x1y7vv153kvdw9lkqslmbwgia5r3qj6i39pfji3s135")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-quickcheck" ,rust-quickcheck-0.2) + ("rust-rand" ,rust-rand-0.3)))) + (home-page "https://github.com/huonw/hamming") + (synopsis "Count ones fast") + (description + "This package provides a tool to count ones, using rapid popcount +(hamming weight) techniques. This provides a performant popcount and bitwise +hamming distance for a slice of bytes.") + (license (list license:expat license:asl2.0)))) + (define-public rust-handlebars-5 (package (name "rust-handlebars") |