diff --git a/.cargo/config.toml b/.cargo/config.toml index c3db425..d4ee059 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,3 +1,6 @@ [alias] debug-run = "run --features debug" debug-build = "build --features debug" + +[build] +rustflags = ["--cfg", "tokio_unstable"] diff --git a/Cargo.toml b/Cargo.toml index 32f3e46..e6b6d9a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,3 @@ -cargo-features = ["profile-rustflags"] - [workspace] resolver = "2" members = ["nyanpasu_service", "nyanpasu_ipc"] @@ -41,7 +39,3 @@ panic = "unwind" codegen-units = 1 lto = true opt-level = "s" - - -[profile.dev] -rustflags = ["--cfg", "tokio_unstable"] diff --git a/nyanpasu_service/Cargo.toml b/nyanpasu_service/Cargo.toml index 93e6135..d82d7b3 100644 --- a/nyanpasu_service/Cargo.toml +++ b/nyanpasu_service/Cargo.toml @@ -54,7 +54,6 @@ console-subscriber = { version = "0.3", optional = true, features = [ ] } sysinfo = "0.30" - [build-dependencies] chrono = { workspace = true } rustc_version = "0.4"