Subject: [PATCH 01/10] gnu: Add rust-h3-0.0.2.

From: Tomas Volf <[email-masked]>
Date: Sun, 3 Mar 2024 17:46:25 +0100

* gnu/packages/crates-io.scm (rust-h3-0.0.2): New variable.

Change-Id: I5841228c71b29e03d254c6c2719252beaef49627
---
 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 aaf2157661..0def95ee60 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -52217,6 +52217,31 @@ (define-public rust-quickersort-3
 numbers.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-h3-0.0.2
+  (package
+    (name "rust-h3")
+    (version "0.0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "h3" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "17nbmkz6xs848257xv7gdhrnhyhagfb0dbqla82zv1nixr1wmrkd"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-bytes" ,rust-bytes-1)
+                       ("rust-fastrand" ,rust-fastrand-1)
+                       ("rust-futures-util" ,rust-futures-util-0.3)
+                       ("rust-http" ,rust-http-0.2)
+                       ("rust-tokio" ,rust-tokio-1)
+                       ("rust-tracing" ,rust-tracing-0.1))))
+    (home-page "https://github.com/hyperium/h3")
+    (synopsis "An async HTTP/3 implementation")
+    (description "This library provides an async HTTP/3 implementation.")
+    (license license:expat)))
+
 (define-public rust-quinn-0.10
   (package
     (name "rust-quinn")
-- 
2.41.0