diff --git a/proxmox-sys/Cargo.toml b/proxmox-sys/Cargo.toml index 2877eef0..44194a6d 100644 --- a/proxmox-sys/Cargo.toml +++ b/proxmox-sys/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "proxmox-sys" description = "System tools (using nix)." -version = "0.6.6" +version = "0.6.7" authors.workspace = true edition.workspace = true diff --git a/proxmox-sys/debian/changelog b/proxmox-sys/debian/changelog index e5a2e81a..7a67ca74 100644 --- a/proxmox-sys/debian/changelog +++ b/proxmox-sys/debian/changelog @@ -1,3 +1,16 @@ +rust-proxmox-sys (0.6.7-1) bookworm; urgency=medium + + * memory info: use the MemAvailable field from /proc/meminfo to compute used + memory to fix overestimation of that metric and to better align with what + modern versions of tools like `free` do. + + * add doc-comments for ProcFsMemInfo type. + + * add MemAvailable field to ProcFsMemInfo to promote its usage over the + existing MemFree, which is almost never the right choice. + + -- Proxmox Support Team Mon, 07 Apr 2025 20:50:58 +0200 + rust-proxmox-sys (0.6.6-1) bookworm; urgency=medium * use correct pointer type for mkdtemp return value diff --git a/proxmox-sys/debian/control b/proxmox-sys/debian/control index 297a123b..eb3bdc68 100644 --- a/proxmox-sys/debian/control +++ b/proxmox-sys/debian/control @@ -58,10 +58,10 @@ Provides: librust-proxmox-sys-0.6+acl-dev (= ${binary:Version}), librust-proxmox-sys-0.6+default-dev (= ${binary:Version}), librust-proxmox-sys-0.6+timer-dev (= ${binary:Version}), - librust-proxmox-sys-0.6.6-dev (= ${binary:Version}), - librust-proxmox-sys-0.6.6+acl-dev (= ${binary:Version}), - librust-proxmox-sys-0.6.6+default-dev (= ${binary:Version}), - librust-proxmox-sys-0.6.6+timer-dev (= ${binary:Version}) + librust-proxmox-sys-0.6.7-dev (= ${binary:Version}), + librust-proxmox-sys-0.6.7+acl-dev (= ${binary:Version}), + librust-proxmox-sys-0.6.7+default-dev (= ${binary:Version}), + librust-proxmox-sys-0.6.7+timer-dev (= ${binary:Version}) Description: System tools (using nix) - Rust source code Source code for Debianized Rust crate "proxmox-sys" @@ -75,7 +75,7 @@ Depends: Provides: librust-proxmox-sys-0+crypt-dev (= ${binary:Version}), librust-proxmox-sys-0.6+crypt-dev (= ${binary:Version}), - librust-proxmox-sys-0.6.6+crypt-dev (= ${binary:Version}) + librust-proxmox-sys-0.6.7+crypt-dev (= ${binary:Version}) Description: System tools (using nix) - feature "crypt" This metapackage enables feature "crypt" for the Rust proxmox-sys crate, by pulling in any additional dependencies needed by that feature. @@ -91,7 +91,7 @@ Depends: Provides: librust-proxmox-sys-0+logrotate-dev (= ${binary:Version}), librust-proxmox-sys-0.6+logrotate-dev (= ${binary:Version}), - librust-proxmox-sys-0.6.6+logrotate-dev (= ${binary:Version}) + librust-proxmox-sys-0.6.7+logrotate-dev (= ${binary:Version}) Description: System tools (using nix) - feature "logrotate" This metapackage enables feature "logrotate" for the Rust proxmox-sys crate, by pulling in any additional dependencies needed by that feature.