Cargo Features

[dependencies]
aimu = { version = "0.2.3", default-features = false, features = ["dynamic", "cli", "bmi160", "bmi260", "async-trait"] }
default = dynamic

The dynamic feature is set by default whenever aimu is added without default-features = false somewhere in the dependency tree.

dynamic default = bmi160, bmi260, cli
cli dynamic

Enables clap

Affects config::cli, trigger::EventCode, imu::IMUs, motion::Frame

bmi160 dynamic

Enables bmi160 ^0.1.2

Affects imu::bmi160

bmi260 dynamic

Enables bmi270

Affects imu::bmi260

Features from optional dependencies

async-trait implicit feature

Enables async-trait

async-trait:

Type erasure for async trait methods