Skip to content

Releases: andrewdavidmackenzie/libproc-rs

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.

Add listpidspath()

04 Aug 19:30
Compare
Choose a tag to compare

Added a missing call from the original Mac OS X 10.5 implementation

Implement kmesgbuffer on macos and linux

27 Jul 13:53
Compare
Choose a tag to compare

Fixed the implementation of the kmesgbuffer() call on linux and then macos.

  • It's a simple string interface at the moment. I thought it could have a different interface with a struct and vector of lines, lines parsed into fields etc, but didn't bother doing that in first implementation as I'm not sure anyone will even use this. Submit an enhancement request issue (or PR!) if you want that....

Doc updates

24 May 01:04
Compare
Choose a tag to compare

Added deployment of build code docs to GH pages on build of master from travis

Added some linux commands and equivalents

11 Oct 11:38
Compare
Choose a tag to compare

This release supports compiling for Linux (doen on CI) and it adds a couple of commands for linux (linux only for now) and adds Linux equivalents for name() and pidpath() methods.

Added new methods

05 Oct 16:22
cb38adc
Compare
Choose a tag to compare

Added new methods (documented in README) from contributor @dalance as well as some internal file re-orgs, and small test improvements.

0.4.0 With new methods added

10 Mar 14:40
Compare
Choose a tag to compare

New release with contributed functionality!

PR #13 That optimizes am_root() method
PR #14 That implements PIDInfo for ThreadInfo
PR #16 That adds listpidinfo and ListThreads/ListFDs
PR #17 That adds pidfdinfo and SocketFDInfo

Merits a minor version bump I thought (watch-out, I'm not very good at SemVer, so if this is WRONG, please let me know via a PR! :-) )

It is already published on crates.io

Thanks to @LuoZijun and especially @dalance for those!

0.3.2 with a memory usage optimization

03 Nov 05:05
Compare
Choose a tag to compare

Includes a memory usage optimization contributed by @ivxvm

0.3.1 with a small bug fix

20 May 11:01
Compare
Choose a tag to compare

Fixes a bug in listpids function
Removes a couple of compile warnings