heim
Cross-platform framework for system information fetching
heim
is an ongoing attempt to create the best tool for system information fetching
(ex., CPU, memory, disks or processes stats) in the Rust crates ecosystem.
It targets to have at least the same functionality as
psutil,
gopsutil or
oshi eventually.
Background
heim
has few key things, which are defining its development and public interface:
-
Async-first.
Async support in Rust becomes a first level citizen and it is about time to use it. While many things here are not requiring to be async right now, it will help to create better and faster implementations later. -
Cross-platform.
Any code fromheim
should just work at any platform supported. OS-specific things are exists, but forces user to pay attention to them due to API design. -
Smallest pieces possible.
Thanks to a variousfutures
combinators, it's up to you to choose the exact information you want to get. -
Idiomatic and easy to use.
Should it even be explained?
Platform support
At the moment it is in MVP phase, so probably feature you need is still missing.
Check out Github projects page for more information.
Please, be aware, that at the moment heim
(and all sub-crates)
have the "experimental" status,
so double check the results before push your code into a production.
License
Licensed under either of Apache License 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.