Subject: [PATCH 3/9] gnu: Add rust-roaring-0.9.

From: Nicolas Graves <[email-masked]>
Date: Sun, 07 Aug 2022 16:45:11 +0200

* gnu/packages/crates-io.scm (rust-roaring-0.9): New variable.
---
 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 51805b9361..9442edcd4a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49679,6 +49679,34 @@ (define-public rust-rmp-serde-0.13
     (description "This crate provides Serde bindings for RMP.")
     (license license:expat)))
 
+(define-public rust-roaring-0.9
+  (package
+    (name "rust-roaring")
+    (version "0.9.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "roaring" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1xx5hl7vplvn7ljw8libpvs04j3dpdhg233yzrb9j09j9smrqlyx"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-bytemuck" ,rust-bytemuck-1)
+        ("rust-byteorder" ,rust-byteorder-1)
+        ("rust-retain-mut" ,rust-retain-mut-0.1))
+       #:cargo-development-inputs
+       (("rust-proptest" ,rust-proptest-1))))
+    (home-page "https://github.com/RoaringBitmap/roaring-rs")
+    (synopsis "Compressed bitmaps")
+    (description
+     "Bitsets, also called bitmaps, are binary arrays commonly used as fast
+data structures.  Roaring bitmaps are efficient compressed bitmaps.  This
+package provides a Rust library for Roaring bitmaps.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-rocket-0.4
   (package
     (name "rust-rocket")
-- 
2.37.1

<#secure method=pgpmime mode=sign>

-- 
Best regards,
Nicolas Graves