From 2ed2e78b9ff316edfde5bf443e0009b34850c262 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Mon, 17 Aug 2026 10:48:22 +0200 Subject: [PATCH 1/2] Make ConfigValueMut non-exhaustive This makes it possible to add new field types without a breaking release. The FieldType enum already is non-exhaustive, but we also need to handle values of that type to make use of that. --- CHANGELOG.md | 1 + src/config.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index cde98a0..54f4b60 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [Unreleased]: https://github.com/trussed-dev/admin-app/compare/0.2.0...HEAD - Add support for string config fields. +- Make `ConfigValueMut` non-exhaustive. ## [0.2.0] 2026-07-22 diff --git a/src/config.rs b/src/config.rs index 105529d..2687267 100644 --- a/src/config.rs +++ b/src/config.rs @@ -229,6 +229,7 @@ impl Config for () { } #[derive(Debug, Serialize)] +#[non_exhaustive] pub enum ConfigValueMut<'a> { Bool(&'a mut bool), U8(&'a mut u8), From 2b8d52e29b9f16eea8ed433867487039e800d026 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Mon, 17 Aug 2026 10:51:01 +0200 Subject: [PATCH 2/2] Release v0.3.0 --- CHANGELOG.md | 8 +++++++- Cargo.toml | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 54f4b60..5b7c7af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -[Unreleased]: https://github.com/trussed-dev/admin-app/compare/0.2.0...HEAD +[Unreleased]: https://github.com/trussed-dev/admin-app/compare/0.3.0...HEAD + +- + +## [0.3.0] 2026-08-17 + +[0.3.0]: https://github.com/trussed-dev/admin-app/compare/0.2.0...0.3.0 - Add support for string config fields. - Make `ConfigValueMut` non-exhaustive. diff --git a/Cargo.toml b/Cargo.toml index d3d5f69..0ddcbe8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "admin-app" -version = "0.2.0" +version = "0.3.0" authors = ["Conor Patrick ", "Nicolas Stalder "] repository = "https://github.com/solokeys/admin-app" edition = "2021"