Subject: [PATCH rust-team v2 68/68] gnu: rust-napi-2: Upgrade to v2.16.16.

From: Aaron Covrig <[email-masked]>
Date: Tue, 18 Mar 2025 21:19:26 -0400

* gnu/packages/crates-io.scm (rust-napi-2): Upgrade to v2.16.16.

Signed-off-by: Aaron Covrig <[email-masked]>
---
 gnu/packages/crates-io.scm | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4f87d2124e..9e40fba688 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -45226,19 +45226,14 @@ (define-public rust-nanoserde-derive-0.1
 (define-public rust-napi-2
   (package
     (name "rust-napi")
-    (version "2.15.0")
+    (version "2.16.16")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "napi" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1lcj4k1q89bv75spssg202hkf98d0w8zpkgppd0w8p5qpkhrigzg"))
-       (snippet
-        #~(begin (use-modules (guix build utils))
-                 (substitute* "Cargo.toml"
-                   ;; Stats was removed from tokio-1 around tokio-1.33.0.
-                   ((".*tokio_stats.*") ""))))))
+        (base32 "10zc1z55z55zq34mimnf7jyib0f0hyqrh065d6339ik2bvpf56l3"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
@@ -45247,6 +45242,7 @@ (define-public rust-napi-2
         ("rust-chrono" ,rust-chrono-0.4)
         ("rust-ctor" ,rust-ctor-0.2)
         ("rust-encoding-rs" ,rust-encoding-rs-0.8)
+        ("rust-indexmap" ,rust-indexmap-2)
         ("rust-napi-derive" ,rust-napi-derive-2)
         ("rust-napi-sys" ,rust-napi-sys-2)
         ("rust-once-cell" ,rust-once-cell-1)
-- 
2.48.1