Cargo Features
[dependencies]
metainfo = { version = "0.7.12", default-features = false, features = ["task_local"] }
- default = task_local
-
The
task_local
feature is set by default whenevermetainfo
is added without
somewhere in the dependency tree.default-features = false - task_local default = tokio
-
tokio:
Includes basic task execution capabilities
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.