andrewdavidmackenzie / libproc-rs

A rust library for getting information about running processes for Mac and Linux
MIT License
58 stars 17 forks source link

dalance-pidrusage and split into files #22

Closed andrewdavidmackenzie closed 5 years ago

andrewdavidmackenzie commented 5 years ago

Merge dalance pidrusage PR, plus split large proc_pid.rs into multiple files. Fixes #20

andrewdavidmackenzie commented 5 years ago

I have created an issue to look at the useless regionfilename() test that always passes (when in fact always is failing).

andrewdavidmackenzie commented 5 years ago

I still need to learn how to best offer an external API to rust library consumers, using module renaming and such like. I don't like the way this is now, but need to learn more to do it properly.

I'm worried that this is a breaking change for users, but with the "special" rust semantics for crates with versions 0.?.? that means breaking can't be avoided without moving to 1.?.? and I don't want to do that either.

Any input on that before I merge this is appreciated.

Otherwise I'll create an issue to look into it and gather help.