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 whenever leaky-bucket-lite is added without default-features = false somewhere in the dependency tree.

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