fix build with tokio unstable

This commit is contained in:
cy 2025-04-26 18:21:27 -04:00
parent 7dec14fc1a
commit 0fae7ac3b0
Signed by: cy
SSH key fingerprint: SHA256:o/geVWV4om1QhUSkKvDQeW/eAihwnjyXkqMwrVdbuts
2 changed files with 2 additions and 3 deletions

2
.cargo/config.toml Normal file
View file

@ -0,0 +1,2 @@
[build]
rustflags = ["--cfg", "tokio_unstable"]

View file

@ -3,9 +3,6 @@ name = "nixcp"
version = "0.1.0" version = "0.1.0"
edition = "2024" edition = "2024"
[build]
rustflags = ["--cfg", "tokio_unstable"]
[profile.release] [profile.release]
lto = true lto = true
codegen-units = 1 codegen-units = 1