Cargo Features
[dependencies]
retry-block = { version = "1.0.0", default-features = false, features = ["random", "config", "future", "persist"] }
- default = config, future, persist, random
-
These default features are set whenever
retry-block
is added without
somewhere in the dependency tree.default-features = false - random default = rand
- config default = serde
- future default = tokio
-
Affects
retry-block::future
… - persist default = async-trait, futures-util, tokio, tokio-stream
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.