diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2019-08-04 12:55:17 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2019-08-12 11:57:23 +0300 |
commit | f3739ec0c1f2c6a59e038bd51b56d81c8f84d308 (patch) | |
tree | db9b496047cbc17a4b67ce92a0d54ced73107241 | |
parent | f0b9ffcdee75e42ad6c8682886f35c868c433f39 (diff) | |
download | guix-f3739ec0c1f2c6a59e038bd51b56d81c8f84d308.tar.gz |
gnu: Add rust-dtoa.
* gnu/packages/crates-io.scm (rust-dtoa): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1d80223068..4050484c63 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -151,6 +151,26 @@ for intentionally leaking memory") from macros.") (license license:expat))) +(define-public rust-dtoa + (package + (name "rust-dtoa") + (version "0.4.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "dtoa" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0phbm7i0dpn44gzi07683zxaicjap5064w62pidci4fhhciv8mza")))) + (build-system cargo-build-system) + (home-page "https://github.com/dtolnay/dtoa") + (synopsis "Fast functions for printing floating-point primitives") + (description "This crate provides fast functions for printing +floating-point primitives to an @code{io::Write}.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-proc-macro2 (package (name "rust-proc-macro2") |