From c90681bd8e629b5fde988b9f5be7b915e5cf8ae5 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Tue, 13 Oct 2020 06:13:23 +0900 Subject: 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 --- tokio/src/park/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tokio/src/park') diff --git a/tokio/src/park/mod.rs b/tokio/src/park/mod.rs index e4b97512..5db26ce7 100644 --- a/tokio/src/park/mod.rs +++ b/tokio/src/park/mod.rs @@ -34,11 +34,11 @@ //! * `park_timeout` does the same as `park` but allows specifying a maximum //! time to block the thread for. -cfg_rt_core! { +cfg_rt! { pub(crate) mod either; } -#[cfg(any(feature = "rt-core", feature = "rt-util", feature = "sync"))] +#[cfg(any(feature = "rt", feature = "sync"))] pub(crate) mod thread; use std::sync::Arc; -- cgit v1.2.3