From d653ac343b0bd594489e96757a5af9d0b1dea343 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Tue, 19 Mar 2024 11:07:08 +0100 Subject: [PATCH] bump proxmox-schema to 3.1.0-1 Signed-off-by: Wolfgang Bumiller --- Cargo.toml | 2 +- proxmox-schema/Cargo.toml | 2 +- proxmox-schema/debian/changelog | 16 +++++++++++-- proxmox-schema/debian/control | 40 +++++++++++++++++++++------------ 4 files changed, 42 insertions(+), 18 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 032ef65d..535d2450 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -109,7 +109,7 @@ proxmox-lang = { version = "1.1", path = "proxmox-lang" } proxmox-login = { version = "0.1.0", path = "proxmox-login" } proxmox-rest-server = { version = "0.5.2", path = "proxmox-rest-server" } proxmox-router = { version = "2.1.3", path = "proxmox-router" } -proxmox-schema = { version = "3.0.0", path = "proxmox-schema" } +proxmox-schema = { version = "3.1.0", path = "proxmox-schema" } proxmox-section-config = { version = "2.0.0", path = "proxmox-section-config" } proxmox-serde = { version = "0.1.1", path = "proxmox-serde", features = [ "serde_json" ] } proxmox-sortable-macro = { version = "0.1.3", path = "proxmox-sortable-macro" } diff --git a/proxmox-schema/Cargo.toml b/proxmox-schema/Cargo.toml index 1c150b2c..19eac115 100644 --- a/proxmox-schema/Cargo.toml +++ b/proxmox-schema/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "proxmox-schema" -version = "3.0.1" +version = "3.1.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/proxmox-schema/debian/changelog b/proxmox-schema/debian/changelog index a3806f40..f8e23945 100644 --- a/proxmox-schema/debian/changelog +++ b/proxmox-schema/debian/changelog @@ -1,10 +1,22 @@ -rust-proxmox-schema (3.0.1-1) UNRELEASED; urgency=medium +rust-proxmox-schema (3.1.0-1) bookworm; urgency=medium + + * use const_format to define static strings + + * replace SAFE_ID_REGEX_STR macro with a const &str + + * add IP regexes and api types + + * add common api types which were previously in pbs-api-types + + -- Proxmox Support Team Tue, 19 Mar 2024 11:08:22 +0100 + +rust-proxmox-schema (3.0.1-1) bookworm; urgency=medium * actually perform additional-properties check for AllOf and OneOf schemas * clean up a few verification error messages - -- Proxmox Support Team Wed, 21 Feb 2024 12:23:35 +0100 + -- Proxmox Support Team Tue, 19 Mar 2024 11:05:43 +0100 rust-proxmox-schema (3.0.0-1) bookworm; urgency=medium diff --git a/proxmox-schema/debian/control b/proxmox-schema/debian/control index 98fa6eb4..464f0fa2 100644 --- a/proxmox-schema/debian/control +++ b/proxmox-schema/debian/control @@ -32,23 +32,20 @@ Depends: librust-textwrap-0.16+default-dev Suggests: librust-proxmox-schema+api-macro-dev (= ${binary:Version}), + librust-proxmox-schema+api-types-dev (= ${binary:Version}), librust-proxmox-schema+upid-api-impl-dev (= ${binary:Version}) Provides: - librust-proxmox-schema+api-types-dev (= ${binary:Version}), librust-proxmox-schema+default-dev (= ${binary:Version}), librust-proxmox-schema+test-harness-dev (= ${binary:Version}), librust-proxmox-schema-3-dev (= ${binary:Version}), - librust-proxmox-schema-3+api-types-dev (= ${binary:Version}), librust-proxmox-schema-3+default-dev (= ${binary:Version}), librust-proxmox-schema-3+test-harness-dev (= ${binary:Version}), - librust-proxmox-schema-3.0-dev (= ${binary:Version}), - librust-proxmox-schema-3.0+api-types-dev (= ${binary:Version}), - librust-proxmox-schema-3.0+default-dev (= ${binary:Version}), - librust-proxmox-schema-3.0+test-harness-dev (= ${binary:Version}), - librust-proxmox-schema-3.0.1-dev (= ${binary:Version}), - librust-proxmox-schema-3.0.1+api-types-dev (= ${binary:Version}), - librust-proxmox-schema-3.0.1+default-dev (= ${binary:Version}), - librust-proxmox-schema-3.0.1+test-harness-dev (= ${binary:Version}) + librust-proxmox-schema-3.1-dev (= ${binary:Version}), + librust-proxmox-schema-3.1+default-dev (= ${binary:Version}), + librust-proxmox-schema-3.1+test-harness-dev (= ${binary:Version}), + librust-proxmox-schema-3.1.0-dev (= ${binary:Version}), + librust-proxmox-schema-3.1.0+default-dev (= ${binary:Version}), + librust-proxmox-schema-3.1.0+test-harness-dev (= ${binary:Version}) Description: Proxmox api schema and validation - Rust source code Source code for Debianized Rust crate "proxmox-schema" @@ -61,12 +58,27 @@ Depends: librust-proxmox-api-macro-1+default-dev (>= 1.0.8-~~) Provides: librust-proxmox-schema-3+api-macro-dev (= ${binary:Version}), - librust-proxmox-schema-3.0+api-macro-dev (= ${binary:Version}), - librust-proxmox-schema-3.0.1+api-macro-dev (= ${binary:Version}) + librust-proxmox-schema-3.1+api-macro-dev (= ${binary:Version}), + librust-proxmox-schema-3.1.0+api-macro-dev (= ${binary:Version}) Description: Proxmox api schema and validation - feature "api-macro" This metapackage enables feature "api-macro" for the Rust proxmox-schema crate, by pulling in any additional dependencies needed by that feature. +Package: librust-proxmox-schema+api-types-dev +Architecture: any +Multi-Arch: same +Depends: + ${misc:Depends}, + librust-proxmox-schema-dev (= ${binary:Version}), + librust-const-format-0.2+default-dev +Provides: + librust-proxmox-schema-3+api-types-dev (= ${binary:Version}), + librust-proxmox-schema-3.1+api-types-dev (= ${binary:Version}), + librust-proxmox-schema-3.1.0+api-types-dev (= ${binary:Version}) +Description: Proxmox api schema and validation - feature "api-types" + This metapackage enables feature "api-types" for the Rust proxmox-schema crate, + by pulling in any additional dependencies needed by that feature. + Package: librust-proxmox-schema+upid-api-impl-dev Architecture: any Multi-Arch: same @@ -77,8 +89,8 @@ Depends: librust-nix-0.26+default-dev (>= 0.26.1-~~) Provides: librust-proxmox-schema-3+upid-api-impl-dev (= ${binary:Version}), - librust-proxmox-schema-3.0+upid-api-impl-dev (= ${binary:Version}), - librust-proxmox-schema-3.0.1+upid-api-impl-dev (= ${binary:Version}) + librust-proxmox-schema-3.1+upid-api-impl-dev (= ${binary:Version}), + librust-proxmox-schema-3.1.0+upid-api-impl-dev (= ${binary:Version}) Description: Proxmox api schema and validation - feature "upid-api-impl" This metapackage enables feature "upid-api-impl" for the Rust proxmox-schema crate, by pulling in any additional dependencies needed by that feature. -- 2.39.2