From dcc8f3ca8206597d3966adc25918161da988ab1e Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sat, 16 Mar 2024 22:00:01 +0200 Subject: gnu: Add rust-fast-float-0.2. * gnu/packages/crates-io.scm (rust-fast-float-0.2): New variable. Change-Id: Ie08cc39dc3398774d4ac5b620f159f640db9b030 --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f4e019fe34..f985318839 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -23434,6 +23434,29 @@ (define-public rust-fast-chemail-0.9 is defined in the HTML specification.") (license license:mpl2.0))) +(define-public rust-fast-float-0.2 + (package + (name "rust-fast-float") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "fast-float" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0g7kfll3xyh99kc7r352lhljnwvgayxxa6saifb6725inikmyxlm")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-fastrand" ,rust-fastrand-1) + ("rust-hexf-parse" ,rust-hexf-parse-0.1) + ("rust-lexical-core" ,rust-lexical-core-0.7) + ("rust-num-bigint" ,rust-num-bigint-0.3) + ("rust-ryu" ,rust-ryu-1)))) + (home-page "https://github.com/aldanor/fast-float-rust") + (synopsis "Fast floating-point number parser") + (description "This package provides a fast floating-point number parser.") + (license (list license:expat license:asl2.0)))) + (define-public rust-faster-hex-0.9 (package (name "rust-faster-hex") -- cgit v1.2.3