Cargo Features

rppal-mcp23s17 has no features set by default.

[dependencies]
rppal-mcp23s17 = { version = "0.0.3", features = ["mockspi"] }
mockspi

Use of this feature causes the crate to use a mock version of the interface to the SPI which is suited to running tests without needing the target Raspberry Pi hardware.