sync: move into tokio crate (#1705)

A step towards collapsing Tokio sub crates into a single `tokio`
crate (#1318).

The sync implementation is now provided by the main `tokio` crate.
Functionality can be opted out of by using the various net related
feature flags.
This commit is contained in:
Carl Lerche
2019-10-29 15:11:31 -07:00
committed by GitHub
parent c62ef2d232
commit 2b909d6805
58 changed files with 574 additions and 1195 deletions
+1 -1
View File
@@ -274,7 +274,7 @@ fn panic_in_task() {
#[test]
fn multi_threadpool() {
use tokio_sync::oneshot;
use tokio::sync::oneshot;
let pool1 = new_pool();
let pool2 = new_pool();