tokio-fs: Add async versions of most of std::fs (#494)

* create_dir
* create_dir_all
* hard_link
* read_dir
* read_link
* remove_dir
* remove_file
* rename
* set_permissions that works with path
* symlink_metadata
* symlink on unix
* symlink_dir on windows
* symlink_file on windows
This commit is contained in:
Brian Olsen
2018-07-31 21:39:27 -07:00
committed by Carl Lerche
parent 0f76470172
commit 0490280d66
18 changed files with 888 additions and 1 deletions
+3 -1
View File
@@ -7,4 +7,6 @@
//! the context of the Tokio runtime as they require Tokio specific features to
//! function.
pub use tokio_fs::{file, metadata, File, OpenOptions};
pub use tokio_fs::{create_dir, create_dir_all, file, hard_link, metadata, os, read_dir, read_link};
pub use tokio_fs::{remove_dir, remove_file, rename, set_permissions, symlink_metadata, File};
pub use tokio_fs::OpenOptions;