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

std
i2c default

Affects hardware-registers::i2c

spi default

Affects hardware-registers::spi