futures-fs 0.0.3

A Futures implementation for File System operations


Travis Build Status crates.io

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


let fs = FsPool::default();

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

// 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
    .expect("IO error piping foo.txt to out.txt");