ff
futures-fs
cargo install futures-fs
ff

futures-fs

Access File System operations off-thread, using a Futures.

by Sean McArthur

0.0.5 (see all)License:MIT/Apache-2.0
cargo install futures-fs
Readme

futures-fs

Travis Build Status crates.io docs.rs

Access File System operations off-thread, using Futures and Streams.

Usage

let fs = FsPool::default();

// our source file
let read = fs.read("/home/sean/foo.txt", Default::default());

// default writes options to create a new file
let write = fs.write("/home/sean/out.txt", Default::default());

// block this thread!
// the reading and writing however will happen off-thread
read.forward(write).wait()
    .expect("IO error piping foo.txt to out.txt");

GitHub Stars

61

LAST COMMIT

4yrs ago

MAINTAINERS

1

CONTRIBUTORS

7

OPEN ISSUES

6

OPEN PRs

1
VersionTagPublished
0.0.5
4yrs ago
0.0.4
4yrs ago
0.0.3
5yrs ago
0.0.2
5yrs ago
No alternatives found
No tutorials found
Add a tutorial