Cargo Features
[dependencies]
my-awesome-rabbitmq-lib = { version = "0.2.9", default-features = false, features = ["std", "events"] }
- default = events, std
-
These default features are set whenever
my-awesome-rabbitmq-lib
is added without
somewhere in the dependency tree.default-features = false - std default = backoff, futures-lite, lapin, once_cell, serde_json, thiserror, tokio, tracing
- events default = chrono, serde, strum, strum_macros
-
Affects
my-awesome-rabbitmq-lib::events
…
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.