Cargo Features

[dependencies]
locktree = { version = "0.3.0", default-features = false, features = ["async", "tokio_0_2"] }
default = async

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

async default

Affects locktree::PluggedAsyncGuard, locktree::PluggedAsyncMutexGuard, locktree::PluggedAsyncRwLockReadGuard, locktree::PluggedAsyncRwLockWriteGuard, locktree::AsyncMutex, locktree::AsyncRwLock

tokio_0_2 = tokio

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 tokio_0_2?

Enables tokio ^0.2

Affects plug::H1TokioMutexLockGuard, plug::H1TokioRwLockReadGuard, plug::H1TokioRwLockWriteGuard