#platform #info #system

platform-info

A simple cross-platform interface to get info about a system

2 unstable releases

Uses old Rust 2015

0.1.0 Feb 14, 2021
0.0.1 Jul 27, 2018

#30 in Operating systems

Download history 1116/week @ 2020-12-25 1496/week @ 2021-01-01 1624/week @ 2021-01-08 2414/week @ 2021-01-15 1253/week @ 2021-01-22 1268/week @ 2021-01-29 1545/week @ 2021-02-05 1783/week @ 2021-02-12 2540/week @ 2021-02-19 1808/week @ 2021-02-26 3591/week @ 2021-03-05 3932/week @ 2021-03-12 5947/week @ 2021-03-19 7086/week @ 2021-03-26 8085/week @ 2021-04-02 4625/week @ 2021-04-09

7,152 downloads per month
Used in 6 crates (5 directly)

MIT license

25KB
573 lines

platform-info

License Build Status Build status LoC

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