Cargo Features

[dependencies]
dir-lock = { version = "0.4.1", default-features = false, features = ["async-std", "tokio"] }
default = tokio

The tokio feature is set by default whenever dir-lock is added without default-features = false somewhere in the dependency tree.

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

tokio default