Cargo Features
[dependencies]
leaky-bucket-lite = { version = "0.5.2", default-features = false, features = ["sync", "sync-threadsafe", "parking_lot", "tokio"] }
- default = tokio
-
The
tokio
feature is set by default wheneverleaky-bucket-lite
is added without
somewhere in the dependency tree.default-features = false - sync
-
Affects
leaky-bucket-lite::sync
… - sync-threadsafe
-
Affects
leaky-bucket-lite::sync_threadsafe
…
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.
- parking_lot implicit feature
-
Enables parking_lot
parking_lot:
More compact and efficient implementations of the standard synchronization primitives
- tokio default