Subject: [PATCH rust-team 30/37] gnu: Add rust-futures-enum-0.1.

From: Nicolas Goaziou <[email-masked]>
Date: Wed, 22 May 2024 11:45:48 +0200

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 86923765c2..dfcd6299d3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -28158,6 +28158,40 @@ (define-public rust-futures-cpupool-0.1
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-futures-enum-0.1
+  (package
+    (name "rust-futures-enum")
+    (version "0.1.17")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "futures-enum" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "07kvpnr21qalhw4hw44h3335wi0lgrdf02n1vglm4flhwx6x28il"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-derive-utils" ,rust-derive-utils-0.11)
+        ("rust-find-crate" ,rust-find-crate-0.6)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-1))
+       #:cargo-development-inputs
+       (("rust-futures" ,rust-futures-0.1)
+        ("rust-futures" ,rust-futures-0.3)
+        ("rust-futures-core" ,rust-futures-core-0.3)
+        ("rust-futures-io" ,rust-futures-io-0.3)
+        ("rust-futures-sink" ,rust-futures-sink-0.3)
+        ("rust-futures-util" ,rust-futures-util-0.3))))
+    (home-page "https://github.com/taiki-e/futures-enum")
+    (synopsis
+     "Future, Stream, Sink, AsyncRead, AsyncWrite, AsyncSeek, AsyncBufRead for enums")
+    (description
+     "This crate provides @code{#[derive(Future, Stream, Sink, AsyncRead, AsyncWrite,
+AsyncSeek, AsyncBufRead)]} for enums.")
+    (license (list license:asl2.0 license:expat))))
+
+
 (define-public rust-futures-executor-0.3
   (package
     (name "rust-futures-executor")
-- 
2.41.0