From 0fae7ac3b08c73a73bf9a8cda9e29aacdf22b4c2 Mon Sep 17 00:00:00 2001 From: cy Date: Sat, 26 Apr 2025 18:21:27 -0400 Subject: [PATCH] fix build with tokio unstable --- .cargo/config.toml | 2 ++ Cargo.toml | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) create mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..bff29e6 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,2 @@ +[build] +rustflags = ["--cfg", "tokio_unstable"] diff --git a/Cargo.toml b/Cargo.toml index 8dd350d..6ca052f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,9 +3,6 @@ name = "nixcp" version = "0.1.0" edition = "2024" -[build] -rustflags = ["--cfg", "tokio_unstable"] - [profile.release] lto = true codegen-units = 1