schema: bump to 4.0.0-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2025-01-15 12:05:40 +01:00
parent 2e2edcf833
commit e4f5179ae6
4 changed files with 47 additions and 20 deletions

View File

@ -137,7 +137,7 @@ proxmox-product-config = { version = "0.2.0", path = "proxmox-product-config" }
proxmox-config-digest = { version = "0.1.0", path = "proxmox-config-digest" }
proxmox-rest-server = { version = "0.8.0", path = "proxmox-rest-server" }
proxmox-router = { version = "3.0.0", path = "proxmox-router" }
proxmox-schema = { version = "3.1.2", path = "proxmox-schema" }
proxmox-schema = { version = "4.0.0", path = "proxmox-schema" }
proxmox-section-config = { version = "2.1.0", path = "proxmox-section-config" }
proxmox-sendmail = { version = "0.1.0", path = "proxmox-sendmail" }
proxmox-serde = { version = "0.1.1", path = "proxmox-serde", features = [ "serde_json" ] }

View File

@ -1,7 +1,7 @@
[package]
name = "proxmox-schema"
description = "proxmox api schema and validation"
version = "3.2.0"
version = "4.0.0"
authors.workspace = true
edition.workspace = true

View File

@ -1,3 +1,30 @@
rust-proxmox-schema (4.0.0-1) bookworm; urgency=medium
* drop deprecated functions
* make schema types non_exhaustive
* add 'description()' builder methods to schema types
* add `unwrap_*_schema_cloned()` to schema types as const fn to get a copy
of a schema which can be manipulated in const contexts
* impl UpdaterType fro PropertyString<T> as Option<Self>
* fix a pointer vs length confusion in the property string deserializer when
using static strings
* support PVE's 'keyAlias/alias' combination in serde based PropertyString
deserialization
* update docs to not use now-removed (previously deprecated) functions
* improve indentation handling in doc output
* elide lifetimes where possible with current expected rustc versions
-- Proxmox Support Team <support@proxmox.com> Wed, 15 Jan 2025 12:07:42 +0100
rust-proxmox-schema (3.2.0-1) bookworm; urgency=medium
* bump api-macro dependency to 1.2

View File

@ -36,15 +36,15 @@ Suggests:
Provides:
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+default-dev (= ${binary:Version}),
librust-proxmox-schema-3+test-harness-dev (= ${binary:Version}),
librust-proxmox-schema-3.2-dev (= ${binary:Version}),
librust-proxmox-schema-3.2+default-dev (= ${binary:Version}),
librust-proxmox-schema-3.2+test-harness-dev (= ${binary:Version}),
librust-proxmox-schema-3.2.0-dev (= ${binary:Version}),
librust-proxmox-schema-3.2.0+default-dev (= ${binary:Version}),
librust-proxmox-schema-3.2.0+test-harness-dev (= ${binary:Version})
librust-proxmox-schema-4-dev (= ${binary:Version}),
librust-proxmox-schema-4+default-dev (= ${binary:Version}),
librust-proxmox-schema-4+test-harness-dev (= ${binary:Version}),
librust-proxmox-schema-4.0-dev (= ${binary:Version}),
librust-proxmox-schema-4.0+default-dev (= ${binary:Version}),
librust-proxmox-schema-4.0+test-harness-dev (= ${binary:Version}),
librust-proxmox-schema-4.0.0-dev (= ${binary:Version}),
librust-proxmox-schema-4.0.0+default-dev (= ${binary:Version}),
librust-proxmox-schema-4.0.0+test-harness-dev (= ${binary:Version})
Description: Proxmox api schema and validation - Rust source code
Source code for Debianized Rust crate "proxmox-schema"
@ -56,9 +56,9 @@ Depends:
librust-proxmox-schema-dev (= ${binary:Version}),
librust-proxmox-api-macro-1+default-dev (>= 1.2.0-~~)
Provides:
librust-proxmox-schema-3+api-macro-dev (= ${binary:Version}),
librust-proxmox-schema-3.2+api-macro-dev (= ${binary:Version}),
librust-proxmox-schema-3.2.0+api-macro-dev (= ${binary:Version})
librust-proxmox-schema-4+api-macro-dev (= ${binary:Version}),
librust-proxmox-schema-4.0+api-macro-dev (= ${binary:Version}),
librust-proxmox-schema-4.0.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.
@ -71,9 +71,9 @@ 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.2+api-types-dev (= ${binary:Version}),
librust-proxmox-schema-3.2.0+api-types-dev (= ${binary:Version})
librust-proxmox-schema-4+api-types-dev (= ${binary:Version}),
librust-proxmox-schema-4.0+api-types-dev (= ${binary:Version}),
librust-proxmox-schema-4.0.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.
@ -87,9 +87,9 @@ Depends:
librust-libc-0.2+default-dev (>= 0.2.107-~~),
librust-nix-0.26+default-dev (>= 0.26.1-~~)
Provides:
librust-proxmox-schema-3+upid-api-impl-dev (= ${binary:Version}),
librust-proxmox-schema-3.2+upid-api-impl-dev (= ${binary:Version}),
librust-proxmox-schema-3.2.0+upid-api-impl-dev (= ${binary:Version})
librust-proxmox-schema-4+upid-api-impl-dev (= ${binary:Version}),
librust-proxmox-schema-4.0+upid-api-impl-dev (= ${binary:Version}),
librust-proxmox-schema-4.0.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.