Switch to linux_embedded_hal crate
It seems embedded hal ecosystem has linux-embedded-hal, which will allow interfacing with the embedded_hal ecosystem.
This is pretty great for writing advanced examples to use sensors, etc so best to use it instead of one-off crates.