Subject: [PATCH 30/87] gnu: Add rust-varbincode-0.1.0.

From: VÖRÖSKŐI András <[email-masked]>
Date: Sat, 24 Feb 2024 21:39:28 +0100

* gnu/packages/crates-io.scm (rust-varbincode-0.1): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0f1359c9ec..b039c9ddc9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -76731,6 +76731,31 @@ (define-public rust-value-bag-sval2-1
     (description "Implementation detail for value-bag.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-varbincode-0.1
+  (package
+    (name "rust-varbincode")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "varbincode" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "17vgwalm7a1lryjj565p4rnx5h3hr8vwm5504r92s7j41f8gl4mp"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1)
+                       ("rust-leb128" ,rust-leb128-0.2)
+                       ("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs (("rust-serde-derive" ,rust-serde-derive-1))))
+    (home-page "https://github.com/wez/varbincode")
+    (synopsis
+     "binary encoder decoder variable length integer")
+    (description
+     "This package provides a binary encoder / decoder with variable length integer
+encoding implementation in Rust.")
+    (license license:expat)))
+
 (define-public rust-vcpkg-0.2
   (package
     (name "rust-vcpkg")
-- 
2.41.0