Get system information in Rust.
For now it supports Linux, Mac OS X and Windows. And now it can get information of kernel/cpu/memory/disk/load/hostname and so on.
Add this to Cargo.toml
:
[dependencies]
sys-info = "0.5"
and add this to crate root:
extern crate sys_info;
for more usage example, see the source file in test folder.