diff --git a/Cargo.toml b/Cargo.toml index 462b63e..eadb09e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bme280" -version = "0.2.0" +version = "0.2.1" authors = ["Sean Bruton "] description = "A rust device driver for the Bosch BME280 temperature, humidity, and atmospheric pressure sensor and the Bosch BMP280 temperature, and atmospheric pressure sensor" repository = "https://github.com/uber-foo/bme280-rs" diff --git a/src/lib.rs b/src/lib.rs index 945ac9a..6b142e1 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -195,6 +195,7 @@ pub struct Measurements { pub pressure: f32, /// percent relative humidity (`0` with BMP280) pub humidity: f32, + #[cfg_attr(feature = "serde", serde(skip))] _e: PhantomData, }