Cargo Features
[dependencies]
scd4x-rs = { version = "0.2.0", default-features = false, features = ["std", "blocking", "async", "uom"] }
- default = async, blocking
-
These default features are set whenever
scd4x-rs
is added without
somewhere in the dependency tree.default-features = false - std
- blocking default
-
Enables embedded-hal
Hardware Abstraction Layer (HAL)
- async default
-
Enables embedded-hal and embedded-hal-async
- uom
-
Enables uom
Unit of measurement
Affects
sample::Co2
,sample::Temperature
,sample::Humidity
,sample::Pressure
,sample::Altitude
…