rsys

Crate for aquiring information about host machine and operating system in a os-agnostic fashion.

The common api is available through Rsys struct which compiles conditionally with required methods. The error type is available at the root of this crate for convienience while os-specific functions are hidden in submodules corresponding to each os.

Main goals are clear and easy api with as much of the api being os-agnostic.

Example usage:

toml [dependencies] rsys = "0.2"

License

MIT