Cargo Features

[dependencies]
futures-locks = { version = "0.7.1", default-features = false, features = ["tokio"] }
default = tokio

Enable methods that require a Tokio runtime.

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 default