Cargo Features

[dependencies]
locker = { version = "0.4.3", default-features = false, features = ["async", "sync"] }
default = async

The async feature is set by default whenever locker is added without default-features = false somewhere in the dependency tree.

async default = tokio
sync

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.

tokio async

Enables tokio ^0.2.13