make tokio console optional and make it actually work

This commit is contained in:
cy 2025-04-26 15:37:54 -04:00
parent 5a3e6089b4
commit d524222a86
Signed by: cy
SSH key fingerprint: SHA256:o/geVWV4om1QhUSkKvDQeW/eAihwnjyXkqMwrVdbuts
3 changed files with 83 additions and 3 deletions

View file

@ -3,6 +3,9 @@ name = "nixcp"
version = "0.1.0"
edition = "2024"
[build]
rustflags = ["--cfg", "tokio_unstable"]
[profile.release]
lto = true
codegen-units = 1
@ -29,6 +32,7 @@ tokio-util = { version = "0.7.15", features = ["io"] }
bytes = "1.10.1"
object_store = { version = "0.12.0", features = ["aws"] }
ulid = "1.2.1"
tracing-subscriber = "0.3.19"
[build-dependencies]
cxx-build = "1.0"