From b19e6e5ce243e623d3d9b3461fec597c1b993fac Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sat, 16 Mar 2024 22:00:04 +0200 Subject: [PATCH] gnu: Add rust-atoi-simd-0.15. * gnu/packages/crates-io.scm (rust-atoi-simd-0.15): New variable. Change-Id: Ifc6d5e361b33b22189e3cad1b8767e749a9902d0 --- gnu/packages/crates-io.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index aa11a7ba89..3c11395d84 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5329,6 +5329,26 @@ (define-public rust-atoi-2 (description "Parse integers directly from `[u8]` slices in safe code.") (license license:expat))) +(define-public rust-atoi-simd-0.15 + (package + (name "rust-atoi-simd") + (version "0.15.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "atoi_simd" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1a98kvaqyhb1shi2c6qhvklahc7ckvpmibcy319i6g1i9xqkgq4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-arrayvec" ,rust-arrayvec-0.7) + ("rust-numtoa" ,rust-numtoa-0.2)))) + (home-page "https://github.com/RoDmitry/atoi_simd") + (synopsis "Fast @code{&[u8]} to integer parser") + (description "This package provides a fast @code{&[u8]} to integer parser.") + (license (list license:expat license:asl2.0)))) + (define-public rust-atom-0.3 (package (name "rust-atom")