Cargo Features
[dependencies]
hardware-registers = { version = "0.2.0", default-features = false, features = ["std", "i2c", "spi"] }
- default = i2c, spi
-
These default features are set whenever
hardware-registers
is added without
somewhere in the dependency tree.default-features = false - std
- i2c default
-
Affects
hardware-registers::i2c
… - spi default
-
Affects
hardware-registers::spi
…