Cargo Features

LibSCD has no features set by default.

[dependencies]
libscd = { version = "0.3.1", features = ["defmt", "sync", "async", "scd30", "scd40", "scd41"] }
defmt

Enables defmt

sync

Enables embedded-hal

Affects libscd::synchronous

async

Enables embedded-hal-async

Affects libscd::asynchronous

scd30

Affects asynchronous::scd30, internal::scd30, synchronous::scd30

scd40

Affects scd4x::Scd40, scd4x::Scd40, asynchronous::scd4x, internal::scd4x, synchronous::scd4x

scd41

Affects scd4x::Scd41, scd4x::MEASURE_SINGLE_SHOT, scd4x::MEASURE_SINGLE_SHOT_RHT_ONLY, scd4x::POWER_DOWN, scd4x::WAKE_UP, scd4x::SET_AUTOMATIC_SELF_CALIBRATION_INITIAL_PERIOD, scd4x::GET_AUTOMATIC_SELF_CALIBRATION_INITIAL_PERIOD, scd4x::SET_AUTOMATIC_SELF_CALIBRATION_STANDARD_PERIOD, scd4x::GET_AUTOMATIC_SELF_CALIBRATION_STANDARD_PERIOD, scd4x::Scd41, asynchronous::scd4x, internal::scd4x, synchronous::scd4x