Cargo Features
[dependencies]
rtest = { version = "0.2.2", default-features = false, features = ["capture_tracing", "async"] }
- default = async, capture_tracing
-
These default features are set whenever
rtest
is added without
somewhere in the dependency tree.default-features = false - capture_tracing default = bytes, tracing-subscriber
-
Affects
config::RunArgs.test_tracing_log_level
… - async default = futures-util, paste, tokio
-
Affects
config::BuilderGenerator
,config::RunConfig.runtime_builder
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.