diff --git a/src/lib.rs b/src/lib.rs index 77988bc..744cf59 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -157,6 +157,7 @@ #![deny(unsafe_code)] #![deny(missing_docs)] +#![deny(warnings)] #![no_std] extern crate embedded_hal as hal; diff --git a/tests/ds3231.rs b/tests/ds3231.rs index d4ef9cd..8504292 100644 --- a/tests/ds3231.rs +++ b/tests/ds3231.rs @@ -1,3 +1,5 @@ +#[deny(warnings)] + extern crate embedded_hal_mock as hal; extern crate ds323x; use ds323x::Ds323x; diff --git a/tests/ds3232.rs b/tests/ds3232.rs index 0249814..ec80ae4 100644 --- a/tests/ds3232.rs +++ b/tests/ds3232.rs @@ -1,3 +1,5 @@ +#[deny(warnings)] + extern crate embedded_hal_mock as hal; extern crate ds323x; use ds323x::Ds323x; diff --git a/tests/ds3234.rs b/tests/ds3234.rs index cc3631c..1516fad 100644 --- a/tests/ds3234.rs +++ b/tests/ds3234.rs @@ -1,3 +1,5 @@ +#[deny(warnings)] + extern crate embedded_hal_mock as hal; extern crate ds323x; use ds323x::Ds323x; diff --git a/tests/ds323x.rs b/tests/ds323x.rs index 4e62e51..42360fa 100644 --- a/tests/ds323x.rs +++ b/tests/ds323x.rs @@ -1,3 +1,5 @@ +#[deny(warnings)] + extern crate embedded_hal_mock as hal; use hal::i2c::Transaction as I2cTrans; use hal::spi::Transaction as SpiTrans;