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 wheneveraimu
is added without
somewhere in the dependency tree.default-features = false - 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