diff --git a/Cargo.toml b/Cargo.toml index edf8077..0b9242d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "m-bus-parser" -version = "0.0.20" +version = "0.0.21" edition = "2021" description = "A library for parsing M-Bus frames" license = "MIT" diff --git a/cli/Cargo.toml b/cli/Cargo.toml index a1343af..171c619 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -18,5 +18,5 @@ keywords = ["m-bus", "parser", "parse", "cli"] [dependencies] -m-bus-parser = { path = "..", version = "0.0.20", features = ["std", "serde"] } +m-bus-parser = { path = "..", version = "0.0.21", features = ["std", "serde"] } clap = { version = "4.5.4", features = ["derive"] } diff --git a/examples/cortex-m/Cargo.toml b/examples/cortex-m/Cargo.toml index a7a977f..3db8b27 100644 --- a/examples/cortex-m/Cargo.toml +++ b/examples/cortex-m/Cargo.toml @@ -10,7 +10,7 @@ cortex-m = "0.7.7" cortex-m-rt = "0.7.3" cortex-m-semihosting = "0.5.0" panic-halt = "0.2.0" -m-bus-parser = { path = "../../", version = "0.0.20" } +m-bus-parser = { path = "../../", version = "0.0.21" } # Uncomment for the panic example. # panic-itm = "0.4.1" diff --git a/python/Cargo.toml b/python/Cargo.toml index 980632a..35b88a0 100644 --- a/python/Cargo.toml +++ b/python/Cargo.toml @@ -6,7 +6,7 @@ homepage = "https://maebli.github.io/" repository = "https://github.com/maebli/m-bus-parser" [dependencies] -m-bus-parser = { path = "..", version = "0.0.20", features = ["std", "serde"] } +m-bus-parser = { path = "..", version = "0.0.21", features = ["std", "serde"] } serde_json = "1.0" pyo3 = { version = "0.23.1", features = ["extension-module","generate-import-lib"] } hex = "0.4.2" diff --git a/src/user_data/data_information.rs b/src/user_data/data_information.rs index 97a5077..f983ea2 100644 --- a/src/user_data/data_information.rs +++ b/src/user_data/data_information.rs @@ -322,15 +322,10 @@ impl std::fmt::Display for Month { } } -#[cfg_attr(feature = "defmt", derive(defmt::Format))] pub type Year = u16; -#[cfg_attr(feature = "defmt", derive(defmt::Format))] pub type DayOfMonth = u8; -#[cfg_attr(feature = "defmt", derive(defmt::Format))] pub type Hour = u8; -#[cfg_attr(feature = "defmt", derive(defmt::Format))] pub type Minute = u8; -#[cfg_attr(feature = "defmt", derive(defmt::Format))] pub type Second = u8; #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] diff --git a/wasm/Cargo.toml b/wasm/Cargo.toml index 1b3d552..b293013 100644 --- a/wasm/Cargo.toml +++ b/wasm/Cargo.toml @@ -19,7 +19,7 @@ default = ["console_error_panic_hook"] [dependencies] wasm-bindgen = "0.2.84" -m-bus-parser = { path = "..", version = "0.0.20", features = ["std", "serde"] } +m-bus-parser = { path = "..", version = "0.0.21", features = ["std", "serde"] } serde = { version = "1.0" } serde_json = "1.0"