diff --git a/satrs-shared/CHANGELOG.md b/satrs-shared/CHANGELOG.md index 0c62de9..8e718d8 100644 --- a/satrs-shared/CHANGELOG.md +++ b/satrs-shared/CHANGELOG.md @@ -8,6 +8,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/). # [unreleased] +# [v0.1.4] 2024-04-24 + +## Added + +- `ResultU16::from_be_bytes` +- `From` impl for `ResultU16`. +- Optional `defmt` support: `defmt::Format` impl on `ResultU16` if the `defmt` feature is + activated. + # [v0.1.3] 2024-04-16 Allow `spacepackets` range starting with v0.10 and v0.11. diff --git a/satrs-shared/Cargo.toml b/satrs-shared/Cargo.toml index cfac25d..175f909 100644 --- a/satrs-shared/Cargo.toml +++ b/satrs-shared/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "satrs-shared" description = "Components shared by multiple sat-rs crates" -version = "0.1.3" +version = "0.1.4" edition = "2021" authors = ["Robin Mueller "] homepage = "https://absatsw.irs.uni-stuttgart.de/projects/sat-rs/" @@ -30,4 +30,4 @@ serde = ["dep:serde", "spacepackets/serde"] spacepackets = ["dep:defmt", "spacepackets/defmt"] [package.metadata.docs.rs] -rustdoc-args = ["--cfg", "doc_cfg", "--generate-link-to-definition"] +rustdoc-args = ["--cfg", "docs_rs", "--generate-link-to-definition"] diff --git a/satrs-shared/src/lib.rs b/satrs-shared/src/lib.rs index 6ecdbac..428f01f 100644 --- a/satrs-shared/src/lib.rs +++ b/satrs-shared/src/lib.rs @@ -1,3 +1,4 @@ //! This crates contains modules shared among other sat-rs framework crates. #![no_std] +#![cfg_attr(docs_rs, feature(doc_auto_cfg))] pub mod res_code; diff --git a/satrs/CHANGELOG.md b/satrs/CHANGELOG.md index 33ba773..6124919 100644 --- a/satrs/CHANGELOG.md +++ b/satrs/CHANGELOG.md @@ -8,7 +8,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/). # [unreleased] -# [v0.2.0-rc.5] 2024-04-23 +# [v0.2.0-rc.5] 2024-04-24 + +## Added + +- Optional `defmt::Format` support for the event types, if the `defmt` feature is activated. ## Changed @@ -17,7 +21,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - Renamed `PusEventDispatcher` to `PusEventTmCreatorWithMap`. - Renamed `DefaultPusEventU32Dispatcher` to `DefaultPusEventU32EventCreator`. - Renamed `PusEventMgmtBackendProvider` renamed to `PusEventReportingMap`. -- Reanmed Event `const_new` methods to `new` and the former `new` methods to `new_checked`. +- Reanmed Event `const_new` methods to `new` and the former `new` methods to `new_checked` # [v0.2.0-rc.4] 2024-04-23 diff --git a/satrs/Cargo.toml b/satrs/Cargo.toml index 17627c7..94f8e79 100644 --- a/satrs/Cargo.toml +++ b/satrs/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "satrs" -version = "0.2.0-rc.4" +version = "0.2.0-rc.5" edition = "2021" rust-version = "1.71.1" authors = ["Robin Mueller "] @@ -91,7 +91,7 @@ optional = true [dev-dependencies] serde = "1" zerocopy = "0.7" -once_cell = "1.13" +once_cell = "1" serde_json = "1" rand = "0.8" tempfile = "3"