From 451d3b0adfae240fb46d065af4b5770b13873488 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Mon, 5 Aug 2024 10:22:30 +0200 Subject: [PATCH] section-config: bump to 2.1.0-1 Signed-off-by: Wolfgang Bumiller --- Cargo.toml | 2 +- proxmox-section-config/Cargo.toml | 2 +- proxmox-section-config/debian/changelog | 14 ++++++++++++++ proxmox-section-config/debian/control | 16 ++++++++-------- 4 files changed, 24 insertions(+), 10 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 50d9ed62..e16dfd36 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -137,7 +137,7 @@ proxmox-config-digest = { version = "0.1.0", path = "proxmox-config-digest" } proxmox-rest-server = { version = "0.7.0", path = "proxmox-rest-server" } proxmox-router = { version = "2.1.5", path = "proxmox-router" } proxmox-schema = { version = "3.1.2", path = "proxmox-schema" } -proxmox-section-config = { version = "2.0.0", path = "proxmox-section-config" } +proxmox-section-config = { version = "2.1.0", path = "proxmox-section-config" } proxmox-serde = { version = "0.1.1", path = "proxmox-serde", features = [ "serde_json" ] } proxmox-shared-memory = { version = "0.3.0", path = "proxmox-shared-memory" } proxmox-sortable-macro = { version = "0.1.3", path = "proxmox-sortable-macro" } diff --git a/proxmox-section-config/Cargo.toml b/proxmox-section-config/Cargo.toml index 5c7b84c0..7e72e180 100644 --- a/proxmox-section-config/Cargo.toml +++ b/proxmox-section-config/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "proxmox-section-config" -version = "2.0.2" +version = "2.1.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/proxmox-section-config/debian/changelog b/proxmox-section-config/debian/changelog index 4c6dfd3b..27e3e4c7 100644 --- a/proxmox-section-config/debian/changelog +++ b/proxmox-section-config/debian/changelog @@ -1,3 +1,17 @@ +rust-proxmox-section-config (2.1.0-1) bookworm; urgency=medium + + * add an experimental `typed` submodule for typed enums for section configs + + * support a 'type_key' globally or by plugin to automatically include the + type string within the data for easier de/serialization of structs + containing the type inside (like internally tagged enums) + + * use `contains_key` instead of `.get().is_some/none()` + + * documentation and typo fixes + + -- Proxmox Support Team Tue, 06 Aug 2024 14:15:18 +0200 + rust-proxmox-section-config (2.0.2-1) bookworm; urgency=medium * pass filesystem paths as AsRef diff --git a/proxmox-section-config/debian/control b/proxmox-section-config/debian/control index cb5275d7..09b692c9 100644 --- a/proxmox-section-config/debian/control +++ b/proxmox-section-config/debian/control @@ -8,8 +8,8 @@ Build-Depends: debhelper (>= 12), libstd-rust-dev , librust-anyhow-1+default-dev , librust-hex-0.4+default-dev , - librust-proxmox-lang-1+default-dev (>= 1.1-~~) , - librust-proxmox-schema-3+default-dev (>= 3.1.1-~~) , + librust-proxmox-lang-1+default-dev (>= 1.3-~~) , + librust-proxmox-schema-3+default-dev (>= 3.1.2-~~) , librust-serde-1+default-dev , librust-serde-json-1+default-dev Maintainer: Proxmox Support Team @@ -26,17 +26,17 @@ Depends: ${misc:Depends}, librust-anyhow-1+default-dev, librust-hex-0.4+default-dev, - librust-proxmox-lang-1+default-dev (>= 1.1-~~), - librust-proxmox-schema-3+default-dev (>= 3.1.1-~~), + librust-proxmox-lang-1+default-dev (>= 1.3-~~), + librust-proxmox-schema-3+default-dev (>= 3.1.2-~~), librust-serde-1+default-dev, librust-serde-json-1+default-dev Provides: librust-proxmox-section-config+default-dev (= ${binary:Version}), librust-proxmox-section-config-2-dev (= ${binary:Version}), librust-proxmox-section-config-2+default-dev (= ${binary:Version}), - librust-proxmox-section-config-2.0-dev (= ${binary:Version}), - librust-proxmox-section-config-2.0+default-dev (= ${binary:Version}), - librust-proxmox-section-config-2.0.2-dev (= ${binary:Version}), - librust-proxmox-section-config-2.0.2+default-dev (= ${binary:Version}) + librust-proxmox-section-config-2.1-dev (= ${binary:Version}), + librust-proxmox-section-config-2.1+default-dev (= ${binary:Version}), + librust-proxmox-section-config-2.1.0-dev (= ${binary:Version}), + librust-proxmox-section-config-2.1.0+default-dev (= ${binary:Version}) Description: Proxmox schema based section config format parsing - Rust source code Source code for Debianized Rust crate "proxmox-section-config"