Cargo Features
[dependencies]
user_lookup = { version = "0.3.0", default-features = false, features = ["sync", "async"] }
- default = async, sync
-
These default features are set whenever
user_lookup
is added without
somewhere in the dependency tree.default-features = false - sync default
-
Affects
user_lookup::sync_reader
… - async default = tokio
-
Affects
user_lookup::async_reader
…
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.