[bug#75212,rust-team,7/7] gnu: rust-simd-json-0.13: Remove snippet.

Message ID 06ced2940325c112ec65a06bc86f2e6fb882157f.1735587580.git.herman@rimm.ee
State New
Headers
Series [bug#75212,rust-team,1/7] gnu: Add rust-alloc-counter-macro-0.0.2. |

Commit Message

Herman Rimm Dec. 30, 2024, 7:47 p.m. UTC
  * gnu/packages/crates-io.scm (rust-simd-json-0.13): Remove snippet.
[arguments]: Uncomment optional dependencies.

Change-Id: I5c776a89df8383463a9f57dcb22c7f706ed0e256
---
 gnu/packages/crates-io.scm | 19 +++++--------------
 1 file changed, 5 insertions(+), 14 deletions(-)
  

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 093243279b2..5b09e98cd61 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -75457,29 +75457,20 @@  (define-public rust-simd-json-0.13
        (uri (crate-uri "simd-json" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0xmzpzklnxxnwspf7abhzgr3khbnrw4h8svag8rq9i4v3c88zbrg"))
-       (snippet
-        #~(begin (use-modules (guix build utils))
-                 ;; Remove some of the optional dependencies:
-                 (substitute* "Cargo.toml.orig"
-                   ((".*alloc_counter.*") "")
-                   ((".*colored.*") "")
-                   ((".*jemallocator.*") "")
-                   ((".*perfcnt.*") ""))
-                 (rename-file "Cargo.toml.orig" "Cargo.toml")))))
+        (base32 "0xmzpzklnxxnwspf7abhzgr3khbnrw4h8svag8rq9i4v3c88zbrg"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs (("rust-ahash" ,rust-ahash-0.8)
-                       ;("rust-alloc-counter" ,rust-alloc-counter-0.0.4)
+                       ("rust-alloc-counter" ,rust-alloc-counter-0.0.4)
                        ("rust-beef" ,rust-beef-0.5)
-                       ;("rust-colored" ,rust-colored-2)
+                       ("rust-colored" ,rust-colored-2)
                        ("rust-getopts" ,rust-getopts-0.2)
                        ("rust-getrandom" ,rust-getrandom-0.2)
                        ("rust-halfbrown" ,rust-halfbrown-0.2)
-                       ;("rust-jemallocator" ,rust-jemallocator-0.5)
+                       ("rust-jemallocator" ,rust-jemallocator-0.5)
                        ("rust-lexical-core" ,rust-lexical-core-0.8)
                        ("rust-once-cell" ,rust-once-cell-1)
-                       ;("rust-perfcnt" ,rust-perfcnt-0.8)
+                       ("rust-perfcnt" ,rust-perfcnt-0.8)
                        ("rust-ref-cast" ,rust-ref-cast-1)
                        ("rust-serde" ,rust-serde-1)
                        ("rust-serde-json" ,rust-serde-json-1)