guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

173/330: gnu: Add rust-atoi-simd-0.15.


From: guix-commits
Subject: 173/330: gnu: Add rust-atoi-simd-0.15.
Date: Mon, 18 Mar 2024 07:16:01 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 58917eb888d9c6201b562f32f5690d43f65b5515
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sat Mar 16 22:00:04 2024 +0200

    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 7803dfb79e..36d59cad3d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5308,6 +5308,26 @@ methods.")
     (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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]