fs
Asynchronous filesystem operations using futures 0.3. Blocking file I/O runs on a dedicated worker pool instead of the thread driving the futures.
Usage
use FsPool;
use block_on;
use StreamExt;
use io;
FsReadStream yields io::Result<bytes::Bytes> chunks. FsWriteSink
implements futures::Sink<bytes::Bytes>, and operations such as delete
return futures that can be awaited directly.