Deny warnings

pull/4/head
Diego Barrios Romero 2018-10-28 12:07:55 +01:00
parent d2a675ef70
commit cb61468456
5 changed files with 9 additions and 0 deletions

View File

@ -157,6 +157,7 @@
#![deny(unsafe_code)] #![deny(unsafe_code)]
#![deny(missing_docs)] #![deny(missing_docs)]
#![deny(warnings)]
#![no_std] #![no_std]
extern crate embedded_hal as hal; extern crate embedded_hal as hal;

View File

@ -1,3 +1,5 @@
#[deny(warnings)]
extern crate embedded_hal_mock as hal; extern crate embedded_hal_mock as hal;
extern crate ds323x; extern crate ds323x;
use ds323x::Ds323x; use ds323x::Ds323x;

View File

@ -1,3 +1,5 @@
#[deny(warnings)]
extern crate embedded_hal_mock as hal; extern crate embedded_hal_mock as hal;
extern crate ds323x; extern crate ds323x;
use ds323x::Ds323x; use ds323x::Ds323x;

View File

@ -1,3 +1,5 @@
#[deny(warnings)]
extern crate embedded_hal_mock as hal; extern crate embedded_hal_mock as hal;
extern crate ds323x; extern crate ds323x;
use ds323x::Ds323x; use ds323x::Ds323x;

View File

@ -1,3 +1,5 @@
#[deny(warnings)]
extern crate embedded_hal_mock as hal; extern crate embedded_hal_mock as hal;
use hal::i2c::Transaction as I2cTrans; use hal::i2c::Transaction as I2cTrans;
use hal::spi::Transaction as SpiTrans; use hal::spi::Transaction as SpiTrans;