2 unstable releases
Uses old Rust 2015
0.1.0 | Feb 14, 2021 |
---|---|
0.0.1 | Jul 27, 2018 |
#30 in Operating systems
7,152 downloads per month
Used in 6 crates
(5 directly)
25KB
573 lines
platform-info
A simple cross-platform way to get information about the currently running system.
License
platform-info
is licensed under the MIT License - see the LICENSE file for details.
lib.rs
:
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 uname
is
provided; however, in the future, more functionality may become available.
Usage
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.
Dependencies
~54KB