Cargo Features

[dependencies]
lsm303dlhc-ng = { version = "0.3.4", default-features = false, features = ["accelerometer", "defmt"] }
default = accelerometer

The accelerometer feature is set by default whenever lsm303dlhc-ng is added without default-features = false somewhere in the dependency tree.

accelerometer default

Enables accelerometer

defmt

Enables defmt, defmt of lsm303dlhc-registers

lsm303dlhc-ng has 3 features without comments.