[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
141/330: gnu: Add rust-simd-json-0.13.
From: |
guix-commits |
Subject: |
141/330: gnu: Add rust-simd-json-0.13. |
Date: |
Mon, 18 Mar 2024 07:15:51 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 0cac1f577113811a42226220fc510bc2bc6e6b4c
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sat Mar 16 21:59:56 2024 +0200
gnu: Add rust-simd-json-0.13.
* gnu/packages/crates-io.scm (rust-simd-json-0.13): New variable.
Change-Id: Ife25a37141881490083ff8cff19d650f1a6b05d6
---
gnu/packages/crates-io.scm | 53 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a9696e8f08..43e1d94ab0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -64382,6 +64382,59 @@ implementation in Rust.")
"This package provides helpers to write more compact simd code.")
(license license:expat)))
+(define-public rust-simd-json-0.13
+ (package
+ (name "rust-simd-json")
+ (version "0.13.8")
+ (source
+ (origin
+ (method url-fetch)
+ (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")))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-ahash" ,rust-ahash-0.8)
+ ;("rust-alloc-counter" ,rust-alloc-counter-0.0.4)
+ ("rust-beef" ,rust-beef-0.5)
+ ;("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-lexical-core" ,rust-lexical-core-0.8)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ;("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)
+ ("rust-simdutf8" ,rust-simdutf8-0.1)
+ ("rust-value-trait" ,rust-value-trait-0.8))
+ #:cargo-development-inputs (("rust-core-affinity"
,rust-core-affinity-0.8)
+ ("rust-criterion" ,rust-criterion-0.5)
+ ("rust-float-cmp" ,rust-float-cmp-0.9)
+ ("rust-getopts" ,rust-getopts-0.2)
+ ("rust-proptest" ,rust-proptest-1))
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'pre-check
+ (lambda _
+ (delete-file "tests/jsonchecker.rs"))))))
+ (home-page "https://github.com/simd-lite/simd-json")
+ (synopsis "High performance JSON parser based on a port of simdjson")
+ (description "High performance JSON parser based on a port of simdjson.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-simdutf8-0.1
(package
(name "rust-simdutf8")
- 125/330: gnu: Add rust-polars-sql-0.37., (continued)
- 125/330: gnu: Add rust-polars-sql-0.37., guix-commits, 2024/03/18
- 109/330: gnu: Add rust-xxhash-c-sys-0.8., guix-commits, 2024/03/18
- 105/330: gnu: Add rust-parquet-format-safe-0.2., guix-commits, 2024/03/18
- 88/330: gnu: Add rust-multiversion-macros-0.7., guix-commits, 2024/03/18
- 87/330: gnu: rust-ctor-0.2: Update to 0.2.7., guix-commits, 2024/03/18
- 124/330: gnu: Add rust-polars-time-0.37., guix-commits, 2024/03/18
- 129/330: gnu: Add rust-polars-parquet-0.37., guix-commits, 2024/03/18
- 127/330: gnu: Add rust-polars-plan-0.37., guix-commits, 2024/03/18
- 136/330: gnu: Add rust-typed-builder-macro-0.16., guix-commits, 2024/03/18
- 137/330: gnu: Add rust-typed-builder-0.16., guix-commits, 2024/03/18
- 141/330: gnu: Add rust-simd-json-0.13.,
guix-commits <=
- 145/330: gnu: Add rust-sample-std-0.1., guix-commits, 2024/03/18
- 51/330: gnu: Add rust-nix-0.28., guix-commits, 2024/03/18
- 56/330: gnu: rust-tempfile-3: Update to 3.10.1., guix-commits, 2024/03/18
- 58/330: gnu: rust-value-bag-serde1-1: Update to 1.8.0., guix-commits, 2024/03/18
- 57/330: gnu: rust-value-bag-1: Update to 1.8.0., guix-commits, 2024/03/18
- 68/330: gnu: Add rust-serial-test-derive-3., guix-commits, 2024/03/18
- 69/330: gnu: Add rust-serial-test-3., guix-commits, 2024/03/18
- 96/330: gnu: Add rust-arrow-format-0.8., guix-commits, 2024/03/18
- 117/330: gnu: Add rust-polars-0.37., guix-commits, 2024/03/18
- 81/330: gnu: Add rust-libflate-lz77-2., guix-commits, 2024/03/18