Subject: [PATCH 07/30] gnu: Add rust-cidr-0.2.

From: Wilko Meyer <[email-masked]>
Date: Wed, 1 May 2024 00:27:12 +0200

* gnu/packages/crates-io.scm (rust-cidr-0.2): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3674a58afb..b73c26b51c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11093,6 +11093,26 @@ (define-public rust-ciborium-ll-0.2
      "This package provides low-level primitives for parsing the CBOR codec.")
     (license license:asl2.0)))
 
+(define-public rust-cidr-0.2
+  (package
+    (name "rust-cidr")
+    (version "0.2.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "cidr" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1n78hgs3h8hk62l35afhyx699fmj3qvd911p3sm9lk55xf9v064d"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-bitstring" ,rust-bitstring-0.1)
+                       ("rust-serde" ,rust-serde-1))))
+    (home-page "https://github.com/stbuehler/rust-cidr")
+    (synopsis "IP network and IP host within network types")
+    (description "This crate offers IP network and IP host within network types.")
+    (license license:expat)))
+
 (define-public rust-cint-0.3
   (package
     (name "rust-cint")
-- 
2.41.0