Closed dmrolfs closed 1 year ago
tracing's valuable support requires tracing_unstable cfg.
https://github.com/tokio-rs/tracing/blob/tracing-core-0.1.30/tracing-core/Cargo.toml#L39 https://github.com/tokio-rs/tracing/blob/tracing-core-0.1.30/examples/examples/valuable.rs
tracing
's support forvaluable
is currently feature flagged. Additionally,valuable
support is considered an unstable feature: in order to usevaluable
withtracing
, the project must be built withRUSTFLAGS="--cfg tracing_unstable
.
Thank you! I missed the flag setting in the coerce
crate's .cargo/config.toml
.
That clears it up for me!
The
coerce
actor crate uses thevaluable
crate. In my personal project, which uses bothtracing
andcoerce
, I'm unable to build thecoerce
("full" features) dependency (i.e., cargo fails trying to check/buildcoerce v0.8.5
before it starts on my project). Oddly, I'm able to build and fully test thecoerce
library itself, which suggests something is missing in my project/dependencies definition, although I have strived to matchcoerce
's dependencies. I have posted an issue in thecoerce
project, and I'm posting here in here there's something in usingvaluable
I missed in the documentation. I appreciate any guidance you may be able to provide. My project can be found at https://github.com/dmrolfs/coerce-cqrs-rs.The issue I see is: