Releases: andrewdavidmackenzie/libproc-rs
v0.14.6: Support rust 1.74.1 (#128)
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
Fixes all clippy::pedantic lints in the code base
Updates README.md and code docs
v0.14.4
v0.14.3
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
Changes to build to Fix #82
What's Changed
- Add macos-13 to CI by @andrewdavidmackenzie in #104
- Update bindgen requirement from 0.66.1 to 0.68.1 by @dependabot in #106
Full Changelog: v0.14.1...v0.14.2
v0.14.1
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
Full Changelog: v0.14.0...v0.14.1
v0.14.0
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
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
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
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.