diff options
author | Taiki Endo <te316e89@gmail.com> | 2020-10-13 06:13:23 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-12 14:13:23 -0700 |
commit | c90681bd8e629b5fde988b9f5be7b915e5cf8ae5 (patch) | |
tree | e70838b9437123dc986ebcfeb8fc0c44ca3fe667 /tokio/src/sync/mod.rs | |
parent | 24d0a0cfa8916eaef17f40f044d978aa3904d654 (diff) |
rt: simplify rt-* features (#2949)
tokio:
merge rt-core and rt-util as rt
rename rt-threaded to rt-multi-thread
tokio-util:
rename rt-core to rt
Closes #2942
Diffstat (limited to 'tokio/src/sync/mod.rs')
-rw-r--r-- | tokio/src/sync/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tokio/src/sync/mod.rs b/tokio/src/sync/mod.rs index ddb289eb..57ae2778 100644 --- a/tokio/src/sync/mod.rs +++ b/tokio/src/sync/mod.rs @@ -464,7 +464,7 @@ cfg_not_sync! { pub(crate) use mutex::Mutex; } - #[cfg(any(feature = "rt-core", feature = "signal", all(unix, feature = "process")))] + #[cfg(any(feature = "rt", feature = "signal", all(unix, feature = "process")))] pub(crate) mod notify; cfg_atomic_waker_impl! { @@ -473,7 +473,7 @@ cfg_not_sync! { } #[cfg(any( - feature = "rt-core", + feature = "rt", feature = "process", feature = "signal"))] pub(crate) mod oneshot; |