summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMat Sadler <mat@sourcetagsandcodes.com>2018-06-12 10:47:24 -0700
committerCarl Lerche <me@carllerche.com>2018-06-12 10:47:24 -0700
commitd1f825ca1319897e2429380fb651758c79930fc2 (patch)
tree8c2194f756ea31b70de35fb8fb3e7982bb671413 /src
parent4cf7d73b22193eb93ca8098f39dd3991cc2dd982 (diff)
Add OpenOptions to tokio-fs (#390)
Add an `OpenOptions` struct to `tokio-fs` that mirrors the one found in `std`. Also provide a conversion from a `std` instance to a Tokio instance.
Diffstat (limited to 'src')
-rw-r--r--src/fs.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fs.rs b/src/fs.rs
index f3d5eb24..fe3a913c 100644
--- a/src/fs.rs
+++ b/src/fs.rs
@@ -10,4 +10,5 @@
pub use tokio_fs::{
file,
File,
+ OpenOptions,
};