Cargo Features
[dependencies]
workspace_root = { version = "0.1.1", default-features = false, features = ["all", "async-std", "async_std", "tokio"] }
- default = get_dir
-
The
get_dir
feature is set by default wheneverworkspace_root
is added without
somewhere in the dependency tree.default-features = false - all = async-std, tokio
- async-std all? async_std?
-
Enables async-std, async-std of get_dir
Affects
workspace_root::async_std
… - async_std = async-std
- tokio all?
-
Enables tokio, tokio of get_dir
Affects
workspace_root::tokio
…
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.