Subject: [PATCH 02/10] gnu: Add rust-h3-quinn-0.0.3.

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

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0def95ee60..0803353b68 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -52242,6 +52242,32 @@ (define-public rust-h3-0.0.2
     (description "This library provides an async HTTP/3 implementation.")
     (license license:expat)))
 
+(define-public rust-h3-quinn-0.0.3
+  (package
+    (name "rust-h3-quinn")
+    (version "0.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "h3-quinn" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0kf6bqmm751gwj24dqgb2rrwq8ibhv7z5v7ix4pfiwz4ccbiljid"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-bytes" ,rust-bytes-1)
+                       ("rust-futures" ,rust-futures-0.3)
+                       ("rust-h3" ,rust-h3-0.0.2)
+                       ("rust-quinn" ,rust-quinn-0.10)
+                       ("rust-quinn-proto" ,rust-quinn-proto-0.10)
+                       ("rust-tokio-util" ,rust-tokio-util-0.7))))
+    (home-page "https://github.com/hyperium/h3")
+    (synopsis "QUIC transport implementation based on Quinn")
+    (description "This library provides QUIC transport implementation based on
+Quinn.")
+    (license license:expat)))
+
 (define-public rust-quinn-0.10
   (package
     (name "rust-quinn")
-- 
2.41.0