Cargo Features
[dependencies]
fs4 = { version = "0.8.2", default-features = false, features = ["sync", "async-std", "tokio", "smol"] }
- default = sync
-
The
sync
feature is set by default wheneverfs4
is added without
somewhere in the dependency tree.default-features = false - sync default
- async-std = async-trait
-
Enables async-std
- tokio = async-trait
-
Enables tokio
- smol = async-trait
-
Enables smol
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.