2 unstable releases

Uses old Rust 2015

0.1.0 Jul 14, 2017
0.0.0 Jul 14, 2017

#616 in Operating systems

Download history 58/week @ 2024-07-20 52/week @ 2024-07-27 55/week @ 2024-08-03 2/week @ 2024-08-10 8/week @ 2024-08-24 6/week @ 2024-08-31 18/week @ 2024-09-07 13/week @ 2024-09-14 58/week @ 2024-09-21 152/week @ 2024-09-28 356/week @ 2024-10-05 74/week @ 2024-10-12 52/week @ 2024-10-19 31/week @ 2024-10-26 242/week @ 2024-11-02

400 downloads per month

MIT license

3KB

os

Travis Build Status crates.io MIT licensed

A rust library for various os utilities.

Not for production use yet!

The module uses the following command line tools and assumes they are installed on your system.

  • uname

Example

Get the kernel name and os name.

extern crate os;

fn main() {
    let os_info = os::get_info();
    println!("{:?}", os_info);
}

No runtime deps