Cargo Features

[dependencies]
rca9539 = { version = "0.1.1", default-features = false, features = ["example", "cortex-m", "spin"] }
default = example

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

example default

Contains a dummy I2C bus for examples

Affects rca9539::example

Features from optional dependencies

cortex-m implicit feature

Enables cortex-m

cortex-m:

Low level access to Cortex-M processors

Affects guard::CsMutexGuard

spin implicit feature

Enables spin

spin:

Spin-based synchronization primitives

Affects guard::SpinGuard