Cargo Features

[dependencies]
ctxguard = { version = "0.1.3", default-features = false, features = ["std-sync", "tokio-sync"] }
default = std-sync

The std-sync feature is set by default whenever ctxguard is added without default-features = false somewhere in the dependency tree.

std-sync default

Affects ctxguard::std

tokio-sync = tokio

Affects ctxguard::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-sync?