This crate provides the ability to retrieve various information specific to your current platform
without having to use platform-specific methods to so. Currently, only information pertinent to
a utility like
provided; however, in the future, more functionality may become available.
This crate is available on crate.io, so using it in your
project is as simple as adding
platform-info to your project's
Cargo.toml, like so:
[dependencies] platform-info = "0.1"
To see specific usage details, I recommend looking at the
uname utility linked above as it makes
use of every feature.