From 693d206c944ee036690911fdbd079f4055b33b97 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Wed, 14 Aug 2024 11:12:57 +0200 Subject: [PATCH] rest-server: bump to 0.7.1-1 Signed-off-by: Wolfgang Bumiller --- proxmox-rest-server/Cargo.toml | 2 +- proxmox-rest-server/debian/changelog | 14 ++++++++++++++ proxmox-rest-server/debian/control | 20 +++++++------------- 3 files changed, 22 insertions(+), 14 deletions(-) diff --git a/proxmox-rest-server/Cargo.toml b/proxmox-rest-server/Cargo.toml index 45751d7e..17000e5d 100644 --- a/proxmox-rest-server/Cargo.toml +++ b/proxmox-rest-server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "proxmox-rest-server" -version = "0.7.0" +version = "0.7.1" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/proxmox-rest-server/debian/changelog b/proxmox-rest-server/debian/changelog index 6b121095..4d98c66d 100644 --- a/proxmox-rest-server/debian/changelog +++ b/proxmox-rest-server/debian/changelog @@ -1,3 +1,17 @@ +rust-proxmox-rest-server (0.7.1-1) bookworm; urgency=medium + + * replace lazy_static with std's LazyLock and drop the dependency + + * replace once_cell with std equivalents + + * drop unused dependency on proxmox-systemd + + * some documentation and clippy fixes + + * update example codes to work with the new 'daemon' crate + + -- Proxmox Support Team Wed, 14 Aug 2024 11:32:31 +0200 + rust-proxmox-rest-server (0.7.0-1) bookworm; urgency=medium * removed the 'daemon' module diff --git a/proxmox-rest-server/debian/control b/proxmox-rest-server/debian/control index ee1969dc..95e909b9 100644 --- a/proxmox-rest-server/debian/control +++ b/proxmox-rest-server/debian/control @@ -4,25 +4,23 @@ Priority: optional Build-Depends: debhelper (>= 12), dh-cargo (>= 25), cargo:native , - rustc:native , + rustc:native (>= 1.80) , libstd-rust-dev , librust-anyhow-1+default-dev , librust-futures-0.3+default-dev , librust-http-0.2+default-dev , librust-hyper-0.14+default-dev (>= 0.14.5-~~) , librust-hyper-0.14+full-dev (>= 0.14.5-~~) , - librust-lazy-static-1+default-dev (>= 1.4-~~) , librust-libc-0.2+default-dev (>= 0.2.107-~~) , librust-log-0.4+default-dev (>= 0.4.17-~~) , librust-nix-0.26+default-dev (>= 0.26.1-~~) , - librust-once-cell-1+default-dev (>= 1.3.1-~~) , librust-openssl-0.10+default-dev , librust-percent-encoding-2+default-dev (>= 2.1-~~) , librust-proxmox-async-0.4+default-dev (>= 0.4.1-~~) , librust-proxmox-compression-0.2+default-dev (>= 0.2.3-~~) , librust-proxmox-daemon-0.1+default-dev , librust-proxmox-lang-1+default-dev (>= 1.3-~~) , - librust-proxmox-log-0.2+default-dev , + librust-proxmox-log-0.2+default-dev (>= 0.2.1-~~) , librust-proxmox-router-2+default-dev (>= 2.1.5-~~) , librust-proxmox-schema-3+api-macro-dev (>= 3.1.2-~~) , librust-proxmox-schema-3+default-dev (>= 3.1.2-~~) , @@ -30,7 +28,6 @@ Build-Depends: debhelper (>= 12), librust-proxmox-sys-0.6+default-dev , librust-proxmox-sys-0.6+logrotate-dev , librust-proxmox-sys-0.6+timer-dev , - librust-proxmox-systemd-0.1+default-dev , librust-proxmox-time-2+default-dev , librust-proxmox-worker-task-0.1+default-dev , librust-regex-1+default-dev (>= 1.5-~~) , @@ -62,18 +59,16 @@ Depends: librust-http-0.2+default-dev, librust-hyper-0.14+default-dev (>= 0.14.5-~~), librust-hyper-0.14+full-dev (>= 0.14.5-~~), - librust-lazy-static-1+default-dev (>= 1.4-~~), librust-libc-0.2+default-dev (>= 0.2.107-~~), librust-log-0.4+default-dev (>= 0.4.17-~~), librust-nix-0.26+default-dev (>= 0.26.1-~~), - librust-once-cell-1+default-dev (>= 1.3.1-~~), librust-openssl-0.10+default-dev, librust-percent-encoding-2+default-dev (>= 2.1-~~), librust-proxmox-async-0.4+default-dev (>= 0.4.1-~~), librust-proxmox-compression-0.2+default-dev (>= 0.2.3-~~), librust-proxmox-daemon-0.1+default-dev, librust-proxmox-lang-1+default-dev (>= 1.3-~~), - librust-proxmox-log-0.2+default-dev, + librust-proxmox-log-0.2+default-dev (>= 0.2.1-~~), librust-proxmox-router-2+default-dev (>= 2.1.5-~~), librust-proxmox-schema-3+api-macro-dev (>= 3.1.2-~~), librust-proxmox-schema-3+default-dev (>= 3.1.2-~~), @@ -81,7 +76,6 @@ Depends: librust-proxmox-sys-0.6+default-dev, librust-proxmox-sys-0.6+logrotate-dev, librust-proxmox-sys-0.6+timer-dev, - librust-proxmox-systemd-0.1+default-dev, librust-proxmox-time-2+default-dev, librust-proxmox-worker-task-0.1+default-dev, librust-regex-1+default-dev (>= 1.5-~~), @@ -105,8 +99,8 @@ Provides: librust-proxmox-rest-server-0+default-dev (= ${binary:Version}), librust-proxmox-rest-server-0.7-dev (= ${binary:Version}), librust-proxmox-rest-server-0.7+default-dev (= ${binary:Version}), - librust-proxmox-rest-server-0.7.0-dev (= ${binary:Version}), - librust-proxmox-rest-server-0.7.0+default-dev (= ${binary:Version}) + librust-proxmox-rest-server-0.7.1-dev (= ${binary:Version}), + librust-proxmox-rest-server-0.7.1+default-dev (= ${binary:Version}) Description: REST server implementation - Rust source code Source code for Debianized Rust crate "proxmox-rest-server" @@ -121,7 +115,7 @@ Depends: Provides: librust-proxmox-rest-server-0+rate-limited-stream-dev (= ${binary:Version}), librust-proxmox-rest-server-0.7+rate-limited-stream-dev (= ${binary:Version}), - librust-proxmox-rest-server-0.7.0+rate-limited-stream-dev (= ${binary:Version}) + librust-proxmox-rest-server-0.7.1+rate-limited-stream-dev (= ${binary:Version}) Description: REST server implementation - feature "rate-limited-stream" This metapackage enables feature "rate-limited-stream" for the Rust proxmox- rest-server crate, by pulling in any additional dependencies needed by that @@ -137,7 +131,7 @@ Depends: Provides: librust-proxmox-rest-server-0+templates-dev (= ${binary:Version}), librust-proxmox-rest-server-0.7+templates-dev (= ${binary:Version}), - librust-proxmox-rest-server-0.7.0+templates-dev (= ${binary:Version}) + librust-proxmox-rest-server-0.7.1+templates-dev (= ${binary:Version}) Description: REST server implementation - feature "templates" This metapackage enables feature "templates" for the Rust proxmox-rest-server crate, by pulling in any additional dependencies needed by that feature.