diff --git a/proxmox-schema/Cargo.toml b/proxmox-schema/Cargo.toml index 5b4e935a..5146f83b 100644 --- a/proxmox-schema/Cargo.toml +++ b/proxmox-schema/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "proxmox-schema" -version = "1.0.1" +version = "1.1.0" authors = ["Proxmox Support Team "] edition = "2018" license = "AGPL-3" diff --git a/proxmox-schema/debian/changelog b/proxmox-schema/debian/changelog index e03a217d..b73bac93 100644 --- a/proxmox-schema/debian/changelog +++ b/proxmox-schema/debian/changelog @@ -1,3 +1,13 @@ +rust-proxmox-schema (1.1.0-1) unstable; urgency=medium + + * make parse and verify functions methods of Schema + + * deprecated free-standing parse/verify functions + + * clippy fixes & cleanups + + -- Proxmox Support Team Thu, 16 Dec 2021 11:04:59 +0100 + rust-proxmox-schema (1.0.1-1) unstable; urgency=medium * updater: impl UpdaterType for Vec diff --git a/proxmox-schema/debian/control b/proxmox-schema/debian/control index 448bd4ac..fb796323 100644 --- a/proxmox-schema/debian/control +++ b/proxmox-schema/debian/control @@ -2,7 +2,7 @@ Source: rust-proxmox-schema Section: rust Priority: optional Build-Depends: debhelper (>= 12), - dh-cargo (>= 24), + dh-cargo (>= 25), cargo:native , rustc:native , libstd-rust-dev , @@ -30,9 +30,9 @@ Depends: librust-serde-json-1+default-dev, librust-textwrap-0.11+default-dev Suggests: - librust-proxmox-schema+api-macro-dev (= ${binary:Version}), librust-proxmox-schema+libc-dev (= ${binary:Version}), librust-proxmox-schema+nix-dev (= ${binary:Version}), + librust-proxmox-schema+proxmox-api-macro-dev (= ${binary:Version}), librust-proxmox-schema+upid-api-impl-dev (= ${binary:Version}) Provides: librust-proxmox-schema+default-dev (= ${binary:Version}), @@ -40,37 +40,16 @@ Provides: librust-proxmox-schema-1-dev (= ${binary:Version}), librust-proxmox-schema-1+default-dev (= ${binary:Version}), librust-proxmox-schema-1+test-harness-dev (= ${binary:Version}), - librust-proxmox-schema-1.0-dev (= ${binary:Version}), - librust-proxmox-schema-1.0+default-dev (= ${binary:Version}), - librust-proxmox-schema-1.0+test-harness-dev (= ${binary:Version}), - librust-proxmox-schema-1.0.1-dev (= ${binary:Version}), - librust-proxmox-schema-1.0.1+default-dev (= ${binary:Version}), - librust-proxmox-schema-1.0.1+test-harness-dev (= ${binary:Version}) + librust-proxmox-schema-1.1-dev (= ${binary:Version}), + librust-proxmox-schema-1.1+default-dev (= ${binary:Version}), + librust-proxmox-schema-1.1+test-harness-dev (= ${binary:Version}), + librust-proxmox-schema-1.1.0-dev (= ${binary:Version}), + librust-proxmox-schema-1.1.0+default-dev (= ${binary:Version}), + librust-proxmox-schema-1.1.0+test-harness-dev (= ${binary:Version}) Description: Proxmox api schema and validation - Rust source code This package contains the source for the Rust proxmox-schema crate, packaged by debcargo for use with cargo and dh-cargo. -Package: librust-proxmox-schema+api-macro-dev -Architecture: any -Multi-Arch: same -Depends: - ${misc:Depends}, - librust-proxmox-schema-dev (= ${binary:Version}), - librust-proxmox-api-macro-1+default-dev -Provides: - librust-proxmox-schema+proxmox-api-macro-dev (= ${binary:Version}), - librust-proxmox-schema-1+api-macro-dev (= ${binary:Version}), - librust-proxmox-schema-1+proxmox-api-macro-dev (= ${binary:Version}), - librust-proxmox-schema-1.0+api-macro-dev (= ${binary:Version}), - librust-proxmox-schema-1.0+proxmox-api-macro-dev (= ${binary:Version}), - librust-proxmox-schema-1.0.1+api-macro-dev (= ${binary:Version}), - librust-proxmox-schema-1.0.1+proxmox-api-macro-dev (= ${binary:Version}) -Description: Proxmox api schema and validation - feature "api-macro" and 1 more - This metapackage enables feature "api-macro" for the Rust proxmox-schema crate, - by pulling in any additional dependencies needed by that feature. - . - Additionally, this package also provides the "proxmox-api-macro" feature. - Package: librust-proxmox-schema+libc-dev Architecture: any Multi-Arch: same @@ -80,8 +59,8 @@ Depends: librust-libc-0.2+default-dev Provides: librust-proxmox-schema-1+libc-dev (= ${binary:Version}), - librust-proxmox-schema-1.0+libc-dev (= ${binary:Version}), - librust-proxmox-schema-1.0.1+libc-dev (= ${binary:Version}) + librust-proxmox-schema-1.1+libc-dev (= ${binary:Version}), + librust-proxmox-schema-1.1.0+libc-dev (= ${binary:Version}) Description: Proxmox api schema and validation - feature "libc" This metapackage enables feature "libc" for the Rust proxmox-schema crate, by pulling in any additional dependencies needed by that feature. @@ -95,24 +74,46 @@ Depends: librust-nix-0.19+default-dev Provides: librust-proxmox-schema-1+nix-dev (= ${binary:Version}), - librust-proxmox-schema-1.0+nix-dev (= ${binary:Version}), - librust-proxmox-schema-1.0.1+nix-dev (= ${binary:Version}) + librust-proxmox-schema-1.1+nix-dev (= ${binary:Version}), + librust-proxmox-schema-1.1.0+nix-dev (= ${binary:Version}) Description: Proxmox api schema and validation - feature "nix" This metapackage enables feature "nix" for the Rust proxmox-schema crate, by pulling in any additional dependencies needed by that feature. +Package: librust-proxmox-schema+proxmox-api-macro-dev +Architecture: any +Multi-Arch: same +Depends: + ${misc:Depends}, + librust-proxmox-schema-dev (= ${binary:Version}), + librust-proxmox-api-macro-1+default-dev +Provides: + librust-proxmox-schema+api-macro-dev (= ${binary:Version}), + librust-proxmox-schema-1+proxmox-api-macro-dev (= ${binary:Version}), + librust-proxmox-schema-1+api-macro-dev (= ${binary:Version}), + librust-proxmox-schema-1.1+proxmox-api-macro-dev (= ${binary:Version}), + librust-proxmox-schema-1.1+api-macro-dev (= ${binary:Version}), + librust-proxmox-schema-1.1.0+proxmox-api-macro-dev (= ${binary:Version}), + librust-proxmox-schema-1.1.0+api-macro-dev (= ${binary:Version}) +Description: Proxmox api schema and validation - feature "proxmox-api-macro" and 1 more + This metapackage enables feature "proxmox-api-macro" for the Rust proxmox- + schema crate, by pulling in any additional dependencies needed by that + feature. + . + Additionally, this package also provides the "api-macro" feature. + Package: librust-proxmox-schema+upid-api-impl-dev Architecture: any Multi-Arch: same Depends: ${misc:Depends}, librust-proxmox-schema-dev (= ${binary:Version}), - librust-libc-0.2+default-dev, - librust-nix-0.19+default-dev + librust-proxmox-schema+libc-dev (= ${binary:Version}), + librust-proxmox-schema+nix-dev (= ${binary:Version}) Provides: librust-proxmox-schema-1+upid-api-impl-dev (= ${binary:Version}), - librust-proxmox-schema-1.0+upid-api-impl-dev (= ${binary:Version}), - librust-proxmox-schema-1.0.1+upid-api-impl-dev (= ${binary:Version}) + librust-proxmox-schema-1.1+upid-api-impl-dev (= ${binary:Version}), + librust-proxmox-schema-1.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.