Cargo Features
[dependencies]
eternity = { version = "0.1.0", default-features = false, features = ["cache", "tokio_0_2", "tokio"] }
- default = cache, tokio
-
These default features are set whenever
eternity
is added without
somewhere in the dependency tree.default-features = false - cache default
-
Affects
eternity::RateLimitInfo.cached
… - tokio_0_2 = tokio_compat
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 default
- tokio_compat tokio_0_2?
-
Enables tokio ^0.2