Cargo Features

[dependencies]
dht22-driver = { version = "0.1.1", default-features = false, features = ["std", "critical-section"] }
default = critical-section

The critical-section feature is set by default whenever dht22-driver is added without default-features = false somewhere in the dependency tree.

std
critical-section default

Enables critical-section

dht22-driver has 3 features without comments.