diff options
author | Jaeme Sifat <jaeme@runbox.com> | 2024-01-05 23:52:37 -0500 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:57:38 +0200 |
commit | acab0d978766584f66ebc7fe04ae5d011f662ee0 (patch) | |
tree | 3efe525ee68aafe81d305e7b9ef600e4c60110d2 /gnu/packages/crates-io.scm | |
parent | f66e41924cf29c725c4899d242931def8a3b6c25 (diff) | |
download | guix-acab0d978766584f66ebc7fe04ae5d011f662ee0.tar.gz guix-acab0d978766584f66ebc7fe04ae5d011f662ee0.zip |
gnu: Add rust-bytelines-2.
* gnu/packages/crates-io.scm (rust-bytelines-2): New variable.
Change-Id: I33fe78abf19d9dd98053f5fedbbcdd4d933a877e
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 102f3311eb..15082a3537 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8971,6 +8971,31 @@ in a byte slice, fast.") ("rust-quickcheck" ,rust-quickcheck-0.6) ("rust-rand" ,rust-rand-0.4)))))) +(define-public rust-bytelines-2 + (package + (name "rust-bytelines") + (version "2.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "bytelines" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jxacxpb7v0qgh325s5b7mfk90fr63jpr90dar8m47r27imnb5qj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-futures-util" ,rust-futures-util-0.3) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs + (("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/whitfin/bytelines") + (synopsis "Read input lines as byte slices for high efficiency") + (description + "This library provides an easy way to read in input lines as byte slices for +high efficiency.") + (license license:expat))) + (define-public rust-bytemuck-1 (package (name "rust-bytemuck") |