Subject: [PATCH 09/81] gnu: Add rust-unsigned-varint-0.8.

From: Herman Rimm <[email-masked]>
Date: Mon, 20 May 2024 10:58:14 +0200

* gnu/packages/crates-io.scm (rust-unsigned-varint-0.8): Add variable.

Change-Id: I368a596c70a9f904345d0da94b95e2f1904a66ec
---
 gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 75e4104fad..dfbd2cc387 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -89095,6 +89095,35 @@ (define-public rust-unsafe-unwrap-0.1
      "This crate enables unchecked unwrapping on Option and Result types.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-unsigned-varint-0.8
+  (package
+    (name "rust-unsigned-varint")
+    (version "0.8.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "unsigned-varint" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "01lwzxp0hf5p966fjq0lyz2x4l44b52py1fbffp9clabn9cnj1pb"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list
+      #:cargo-inputs (list rust-asynchronous-codec-0.7
+                           rust-bytes-1
+                           rust-futures-io-0.3
+                           rust-futures-util-0.3
+                           rust-nom-7
+                           rust-tokio-util-0.7)
+      #:cargo-development-inputs (list rust-criterion-0.3
+                                       rust-futures-executor-0.3
+                                       rust-hex-0.4
+                                       rust-quickcheck-1)))
+    (home-page "https://github.com/paritytech/unsigned-varint")
+    (synopsis "unsigned varint encoding")
+    (description "This package provides unsigned varint encoding.")
+    (license license:expat)))
+
 (define-public rust-unsize-1
   (package
     (name "rust-unsize")
-- 
2.41.0