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
@@ -1,4 +1,4 @@
error: The default runtime flavor is `multi_thread`, but the `rt-threaded` feature is disabled.
error: The default runtime flavor is `multi_thread`, but the `rt-multi-thread` feature is disabled.
--> $DIR/macros_core_no_default.rs:3:1
|
3 | #[tokio::main]
+1 -1
View File
@@ -5,7 +5,7 @@ fn compile_fail_full() {
#[cfg(feature = "full")]
t.compile_fail("tests/fail/macros_invalid_input.rs");
#[cfg(all(feature = "rt-core", not(feature = "full")))]
#[cfg(all(feature = "rt", not(feature = "full")))]
t.compile_fail("tests/fail/macros_core_no_default.rs");
drop(t);