Cargo Features

[dependencies]
pca9539 = { version = "0.3.0", default-features = false, features = ["example", "strict", "cortex-m", "spin"] }
default = example

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

example default

Contains a dummy I2C bus for examples

Affects pca9539::example

strict

Fail on warnings

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