More deprecation notices (relates #2036) (#2098)

This commit is contained in:
John-John Tedro
2020-01-14 15:36:16 -05:00
committed by Lucio Franco
parent 86de4baacc
commit 0f11d56a3c
24 changed files with 120 additions and 24 deletions
+9
View File
@@ -2,6 +2,15 @@
Single threaded executor for Tokio.
> **Note:** This crate is **deprecated in tokio 0.2.x** and has been moved and
> refactored into various places in the [`tokio`] crate. The closest replacement
> is to make use of [`tokio::task::LocalSet::block_on`] which requires the
> [`rt-util` feature].
[`tokio`]: https://docs.rs/tokio/latest/tokio/index.html
[`tokio::task::LocalSet::block_on`]: https://docs.rs/tokio/latest/tokio/task/struct.LocalSet.html#method.block_on
[`rt-util` feature]: https://docs.rs/tokio/latest/tokio/index.html#feature-flags
[Documentation](https://docs.rs/tokio-current-thread/0.1.6/tokio_current_thread/)
## Overview