Subject: [bug#76513] [PATCH rust-team v2 74/77] gnu: Add rust-wasmparser-nostd-0.100.

From: Andrew Wong <[email-masked]>
Date: Wed, 26 Feb 2025 19:51:24 -0500

* gnu/packages/crates-io.scm (rust-wasmparser-nostd-0.100): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0aaea419e7..b8878e88e8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -94065,6 +94065,30 @@ (define-public rust-wasmparser-0.57
         (base32 "19kslk9pv1bcyp85w63dn1adbp13kz7kjha80abnwz27bmbxvz9j"))))
     (arguments `(#:skip-build? #t))))
 
+(define-public rust-wasmparser-nostd-0.100
+  (package
+    (name "rust-wasmparser-nostd")
+    (version "0.100.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "wasmparser-nostd" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1ak4bi9k9jb223xw7mlxkgim6lp7m8bwfqhlpfa4ll7kjpz1b86m"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-indexmap-nostd" ,rust-indexmap-nostd-0.4))))
+    (home-page
+     "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasmparser")
+    (synopsis
+     "simple event-driven library for parsing WebAssembly binary files.")
+    (description
+     "This package provides a simple event-driven library for parsing
+@code{WebAssembly} binary files.")
+    (license (list license:asl2.0))))
+
 (define-public rust-watchexec-2
   (package
     (name "rust-watchexec")
-- 
2.48.1