Skip to content

Releases: andrewdavidmackenzie/libproc-rs

v0.14.6: Support rust 1.74.1 (#128)

13 Mar 18:58
d16c44d
Compare
Choose a tag to compare

This release fixes a build error for some versions of rustc, introduced in previous releases.

I have changed how sub-modules are exported to improve the API a little, while maintaining backwards compatibility.

It also cleans up the README, adds better code docs.

v0.14.5 Fixing lints and updating docs

12 Mar 14:01
Compare
Choose a tag to compare

Fixes all clippy::pedantic lints in the code base
Updates README.md and code docs

v0.14.4

09 Mar 11:55
Compare
Choose a tag to compare

This release includes a small fix/improvement to the error handling of listpids functionality, based on the behaviour of the darwin source setting errno.

This release is already published to crates.io here

v0.14.3

09 Mar 10:21
41d9a0e
Compare
Choose a tag to compare

The only change in this release (0.14.3) versus the previous (0.14.2) is a bug fix in the listpids() method, where alternatively either one process pid could be missing from the returned vector of pids, or if there were zero a runtime error could result.

Thanks to @jthomas-dd for finding it, reporting it and pushing a proposed fix.

This release has been published to crates.io here

v0.14.2

18 Sep 08:43
Compare
Choose a tag to compare

Changes to build to Fix #82

What's Changed

Full Changelog: v0.14.1...v0.14.2

v0.14.1

01 Aug 19:25
Compare
Choose a tag to compare

Fixes (we hope) a build problem some people were experiencing on mac, where bindgen was not finding libproc.h

If this change causes any problems, please report an issue with details of the error, OS version, Xcode version.

What's Changed

  • support for android(termux) by @hardfau18 in #101
  • libproc.h file not found fix: include directories so that builds on mac os are successful by @jrabinow in #103

New Contributors

  • @hardfau18 made their first contribution in #101
  • @jrabinow made their first contribution in #103

Full Changelog: v0.14.0...v0.14.1

v0.14.0

06 Jul 15:39
Compare
Choose a tag to compare

Added compile level support for redox OS, with a simple "cargo check" CI check to keep it working.
It treats redox as a linux equivalent for now, although I do not think that it is totally compatible for libproc-rs functionality (e.g. procfs), but at least it compiles and later we can work on the redox implementation of some of the methods.

v0.13.0

08 Feb 09:18
d9506f6
Compare
Choose a tag to compare

Merged in contributions improving how process pids etc are gotten.
This introduces some new functions/locations for functions in the API along with deprecation notices for the old ones.
I think it's an improvement, but I hope this doesn't screw with existing users too much.
Semver < 1.0 means it's hard to communicate these types of changes in a new version number.
Feedback (via issues I guess) on the API and improvements to it are welcome.

0.12.0 using bindgen with minimal dependencies

27 Apr 08:58
Compare
Choose a tag to compare

Rust code is now generated from libproc.h using bindgen, and dependencies/features of bindgen have been reduced to minimize build time.

Bug fix ahead of new rustc versions

29 Aug 18:32
Compare
Choose a tag to compare

Newer versions of rustc (>= 1.46.0 it seems) were breaking the library in CI/CD.
Upon investigation it turns out I was not treating string correctly for FFI calls, and something has changed in newer versions of rustc that caused it to fail (memory layout would be my guess).

This releae fixes that bug, so when people upgrade to rustc 1.46.0 or later they should not see any test failures.