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
This commit is contained in:
Taiki Endo
2020-10-12 14:13:23 -07:00
committed by GitHub
parent 24d0a0cfa8
commit c90681bd8e
48 changed files with 171 additions and 210 deletions
+3 -3
View File
@@ -40,11 +40,11 @@ macro_rules! cfg_io {
}
}
macro_rules! cfg_rt_core {
macro_rules! cfg_rt {
($($item:item)*) => {
$(
#[cfg(feature = "rt-core")]
#[cfg_attr(docsrs, doc(cfg(feature = "rt-core")))]
#[cfg(feature = "rt")]
#[cfg_attr(docsrs, doc(cfg(feature = "rt")))]
$item
)*
}
+1 -1
View File
@@ -47,7 +47,7 @@ cfg_io! {
pub mod io;
}
cfg_rt_core! {
cfg_rt! {
pub mod context;
}