Version 0.4.3 produces an error on Rust 1.31.0 which I usually take as MSRV in device drivers. Sorry about that!
This solves it and bumps the patch version. AFAIK it is not possible to send tags in a PR so somebody needs to take it from here.
error[E0502]: cannot borrow `*data` as immutable because it is also borrowed as mutable
--> /home/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/i2cdev-0.4.3/src/mock.rs:41:75
|
41 | data.clone_from_slice(&self.registers[self.offset..(self.offset + data.len())]);
| ---- ^^^^ - mutable borrow ends here
| | |
| mutable borrow occurs here immutable borrow occurs here
Version 0.4.3 produces an error on Rust 1.31.0 which I usually take as MSRV in device drivers. Sorry about that! This solves it and bumps the patch version. AFAIK it is not possible to send tags in a PR so somebody needs to take it from here.
See the error on CI here