Cargo Features
[dependencies]
async-speed-limit = { version = "0.4.2", default-features = false, features = ["standard-clock", "fused-future", "read-initializer", "futures-io", "tokio"] }
- default = fused-future, futures-io, standard-clock
-
These default features are set whenever
async-speed-limit
is added without
somewhere in the dependency tree.default-features = false - standard-clock default = futures-timer
-
Affects
clock::StandardClock
… - fused-future default = futures-core
- read-initializer
-
This feature has been deprecated. It is only kept for downstream compatibility.
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.
- futures-timer standard-clock
- futures-io default
- futures-core fused-future
- tokio implicit feature
-
Enables tokio
tokio:
An event-driven, non-blocking I/O platform for writing asynchronous I/O backed applications