Cargo Features
[dependencies]
circuitbreaker-rs = { version = "0.1.1", default-features = false, features = ["std", "async", "prometheus", "tracing"] }
- default = std
-
The
std
feature is set by default whenevercircuitbreaker-rs
is added without
somewhere in the dependency tree.default-features = false - std default
- async = futures, tokio
-
Affects
hook::async_hooks
… - prometheus = prometheus-client
- tracing = tracing-core, tracing-subscriber
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.
- tokio async?
-
Enables tokio
Optional dependencies
- futures async?
- prometheus-client prometheus?
-
Enables prometheus-client ^0.22
- tracing-core tracing?
- tracing-subscriber tracing?