Cargo Features

[dependencies]
cu-ahrs = { version = "0.13.0", default-features = false, features = ["std", "rp2350-demo", "textlogs"] }
default = std

The std feature is set by default whenever cu-ahrs is added without default-features = false somewhere in the dependency tree.

std default

Enables std of cu-bincode, cu-sensor-payloads, cu29, and serde

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

rp2350-demo = cortex-m, cortex-m-rt, cu-embedded-registry, defmt, defmt-rtt, panic-probe, rp235x-hal

Enables cu-mpu9250

textlogs

Enables textlogs of cu-embedded-registry, cu-mpu9250, cu-sensor-payloads, and cu29

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

defmt rp2350-demo?
defmt-rtt rp2350-demo?
panic-probe rp2350-demo?
cortex-m rp2350-demo?
cortex-m-rt rp2350-demo?
rp235x-hal rp2350-demo?
cu-embedded-registry rp2350-demo? textlogs?