diff options
author | Carl Lerche <me@carllerche.com> | 2019-10-28 21:40:29 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-28 21:40:29 -0700 |
commit | c62ef2d232dea1535a8e22484fa2ca083f03e903 (patch) | |
tree | 40cacadf882433fa22a87c4911e160581b596ed8 /tokio/src/fs | |
parent | 7eb264a0d0ee68433b20ecafabed53a70a9d43a4 (diff) |
executor: move into `tokio` crate (#1702)
A step towards collapsing Tokio sub crates into a single `tokio`
crate (#1318).
The executor implementation is now provided by the main `tokio` crate.
Functionality can be opted out of by using the various net related
feature flags.
Diffstat (limited to 'tokio/src/fs')
-rw-r--r-- | tokio/src/fs/mod.rs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tokio/src/fs/mod.rs b/tokio/src/fs/mod.rs index 2feb5b2c..c1b4ed71 100644 --- a/tokio/src/fs/mod.rs +++ b/tokio/src/fs/mod.rs @@ -18,12 +18,9 @@ //! type. Adaptions also extend to traits like `std::io::Read` where methods //! return `std::io::Result`. Be warned that these adapted methods may return //! `std::io::ErrorKind::WouldBlock` if a *worker* thread can not be converted -//! to a *backup* thread immediately. See [tokio-executor] for more details -//! of the threading model and [`blocking`]. +//! to a *backup* thread immediately. //! -//! [`blocking`]: https://docs.rs/tokio-executor/0.2.0-alpha.2/tokio_executor/threadpool/fn.blocking.html //! [`AsyncRead`]: https://docs.rs/tokio-io/0.1/tokio_io/trait.AsyncRead.html -//! [tokio-executor]: https://docs.rs/tokio-executor/0.2.0-alpha.2/tokio_executor/threadpool/index.html pub(crate) mod blocking; @@ -94,5 +91,5 @@ where mod sys { pub(crate) use std::fs::File; - pub(crate) use tokio_executor::blocking::{run, Blocking}; + pub(crate) use crate::executor::blocking::{run, Blocking}; } |