From 50c59318d6b49eedac344cb672dbf7f5467b9587 Mon Sep 17 00:00:00 2001 From: Andrew Mackenzie Date: Wed, 1 Oct 2025 16:04:02 +0200 Subject: [PATCH 1/4] Update errno, libc and bindget dependencies to latest patch versions. Fix typos in comment. --- Cargo.toml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index c99ca825..fba757c0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,23 +11,23 @@ edition = "2018" rust-version = "1.72" [dependencies] -errno = "0.3.0" -libc = "^0.2.62" +errno = "0.3.14" +libc = "^0.2.176" [lib] name = "libproc" path = "src/lib.rs" [build-dependencies] -bindgen = { version = "0.72.0", default-features = false, features = ["runtime"] } +bindgen = { version = "0.72.1", default-features = false, features = ["runtime"] } # NOTE: This assumes that there is a procfs compatible FS in redox and the procfs crate -# supports it. It's quite probably that neither of those two things ever happen. +# supports it. It's quite probably that neither of those two things will ever happen. # But making this assumption for now so that everything compiles at least for redox [target.'cfg(any(target_os = "linux", target_os = "redox", target_os = "android"))'.dev-dependencies] procfs = "0.18.0" tempfile = "3.3.0" -# Build docs for macos and linux +# Build docs for macOS and linux [package.metadata.docs.rs] targets = ["aarch64-apple-darwin", "x86_64-unknown-linux-gnu"] \ No newline at end of file From a0c74e5be1c21e7eb26deb2ba2b5748e0460de2a Mon Sep 17 00:00:00 2001 From: Andrew Mackenzie Date: Wed, 1 Oct 2025 16:05:16 +0200 Subject: [PATCH 2/4] Bump version number prior to next release --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index fba757c0..adc66d12 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libproc" -version = "0.14.10" +version = "0.14.11" description = "A library to get information about running processes - for Mac OS X and Linux" authors = ["Andrew Mackenzie "] repository = "https://github.com/andrewdavidmackenzie/libproc-rs" From 32939a4c7a87b9d72497661e229f6026c5361d7a Mon Sep 17 00:00:00 2001 From: Andrew Mackenzie Date: Wed, 1 Oct 2025 16:07:27 +0200 Subject: [PATCH 3/4] Updare version in readme to latest --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4dd5edc6..72895544 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ This is a library for getting information about running processes for Mac OS X a Add it to your project's `Cargo.toml`: ```toml -libproc = "0.14.4" +libproc = "0.14.11" ``` And then use it in your code: From 9386ec24118acdf2e3c26d735b758e2c8fe6031f Mon Sep 17 00:00:00 2001 From: Andrew Mackenzie Date: Wed, 1 Oct 2025 16:08:56 +0200 Subject: [PATCH 4/4] Add rust version for latest release --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 72895544..0ba2593f 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,7 @@ NOTE: `master` branch (code and docs) can differ from those docs prior to a new The minimum rust version required, by version: * libproc-rs: 0.14.6 --> 1.74.1 * libproc-rs: 0.14.7 --> 1.72.0 +* libproc-rs: 0.14.11 --> 1.72.0 This is tested in CI and must pass.