Cargo Features

[dependencies]
ad7124-rs = { version = "0.2.0", default-features = false, features = ["async", "sync", "ad7124-8", "ad7124-4"] }
default = ad7124-8, async, sync

These default features are set whenever ad7124-rs is added without default-features = false somewhere in the dependency tree.

async default = embedded-hal-async

Affects ad7124::ad7124_async

sync default = embedded-hal

Affects ad7124::ad7124_sync

ad7124-8 default

Affects ad7124-rs::AD7124_MAX_CHANNELS

ad7124-4

Affects ad7124-rs::AD7124_MAX_CHANNELS

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.

embedded-hal sync
embedded-hal-async async