Cargo Features
[dependencies]
dir-lock = { version = "0.3.0", default-features = false, features = ["async-std", "tokio02", "tokio03", "tokio"] }
- default = tokio
-
The
tokio
feature is set by default wheneverdir-lock
is added without
somewhere in the dependency tree.default-features = false
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.
- async-std implicit feature
-
Enables async-std
async-std:
Async version of the Rust standard library
- tokio02 implicit feature
-
Enables tokio ^0.2
tokio:
An event-driven, non-blocking I/O platform for writing asynchronous I/O backed applications
- tokio03 implicit feature
-
Enables tokio ^0.3
- tokio default