Subject: [PATCH 200/228] gnu: Add rust-indexed-db-futures-0.4.

From: Herman Rimm <[email-masked]>
Date: Sun, 18 Feb 2024 22:09:30 +0100

* gnu/packages/crates-io.scm (rust-indexed-db-futures-0.4): Add variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c1b12bea19..b56cd52fde 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30440,6 +30440,37 @@ (define-public rust-indenter-0.3
 that efficiently appends and removes common indentation after every newline.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-indexed-db-futures-0.4
+  (package
+    (name "rust-indexed-db-futures")
+    (version "0.4.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "indexed_db_futures" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0lhiixh3i8iphxda58cp3zfx4989q817r2xbhliy0bjpc0vhihkc"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-accessory" ,rust-accessory-1)
+        ("rust-cfg-if" ,rust-cfg-if-1)
+        ("rust-delegate-display" ,rust-delegate-display-2)
+        ("rust-fancy-constructor" ,rust-fancy-constructor-1)
+        ("rust-js-sys" ,rust-js-sys-0.3)
+        ("rust-uuid" ,rust-uuid-1)
+        ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
+        ("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4)
+        ("rust-web-sys" ,rust-web-sys-0.3))
+       #:cargo-development-inputs
+       (("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))
+    (home-page "https://github.com/Alorel/rust-indexed-db")
+    (synopsis "Future bindings for IndexedDB via web_sys")
+    (description "This package provides future bindings for
+@code{IndexedDB} via web_sys.")
+    (license license:expat)))
+
 (define-public rust-indexmap-2
   (package
     (name "rust-indexmap")
-- 
2.41.0