From a66fb6d8f73dec41f73ab9b867379e5af96d2314 Mon Sep 17 00:00:00 2001 From: Milkey Mouse Date: Tue, 31 Aug 2021 20:54:03 -0700 Subject: gnu: Add rust-bufstream-0.1. * gnu/packages/crates-io.scm (rust-bufstream-0.1): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 35c890d55e..c8c7e647c1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -6137,6 +6137,31 @@ system calls. Second, exposing the internal buffer allows the user to work with data in place, which avoids another copy.") (license license:gpl3))) +(define-public rust-bufstream-0.1 + (package + (name "rust-bufstream") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "bufstream" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1j7f52rv73hd1crzrrfb9dr50ccmi3hb1ybd6s5dyg6jmllqkqs0")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-futures" ,rust-futures-0.1) + ("rust-tokio-io" ,rust-tokio-io-0.1)))) + (home-page "https://github.com/alexcrichton/bufstream") + (synopsis "I/O streams with separate read/write buffers") + (description + "This package provides buffered I/O for streams where each read/write +half is separately buffered.") + (license (list license:expat license:asl2.0)))) + (define-public rust-bugreport-0.4 (package (name "rust-bugreport") -- cgit 1.4.1