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.
- lapin std
- tokio std
- futures-lite std
- thiserror std
-
Enables thiserror ^1.0
- serde events
- serde_json std
- tracing std
- backoff std
- strum events
-
Enables strum ^0.26.3
- strum_macros events
-
Enables strum_macros ^0.26.4
- once_cell std
- chrono events