This crate is a no_std driver for the LIS3DH accelerometer using SPI.
https://www.st.com/resource/en/datasheet/lis3dh.pdf
Add this to your Cargo.toml:
toml
[dependencies]
lis3dh-spi = "0.1.0"
And this to your main.rs
rust
//SPI
#TODO add example