From 887a1b1db95272417c377efd69507d66b9cba00b Mon Sep 17 00:00:00 2001 From: soruh Date: Sat, 18 Mar 2023 22:25:01 +0100 Subject: [PATCH] make tokio_console default --- .cargo/config.toml | 3 +++ Cargo.toml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..d098a21 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,3 @@ +[build] +rustflags = [ "--cfg", "tokio_unstable" ] + diff --git a/Cargo.toml b/Cargo.toml index f6b7884..71429e7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,6 +20,6 @@ time = { version = "0.3.20", features = ["local-offset", "macros"] } once_cell = "1.17.1" [features] -default = ["debug_server"] +default = ["debug_server", "tokio_console"] debug_server = ["dep:hyper"] tokio_console = ["dep:console-subscriber"]