Cargo Features

[dependencies]
bme280-rs = { version = "0.3.0", default-features = false, features = ["blocking", "async", "uom"] }
default = async, blocking

These default features are set whenever bme280-rs is added without default-features = false somewhere in the dependency tree.

blocking default

Enables embedded-hal

Hardware Abstraction Layer (HAL)

async default

Enables embedded-hal-async

uom

Enables uom

Unit of measurement

Affects sample::Temperature, sample::Pressure, sample::Humidity