rust-i2cdev
rust-i2cdev copied to clipboard
Switch to mockall #[cfg_attr(test, automock)] on trait
Why this crate implements a proper way of mocking the protocol? It would be much more flexible, for unit test purposes, to provide to the end user the possibility to describe the trait mocked method behaviour using the mockall crate pattern