2 unstable releases

Uses old Rust 2015

0.1.0 Jul 14, 2017
0.0.0 Jul 14, 2017

#521 in Operating systems

Download history 97/week @ 2024-01-08 10/week @ 2024-01-15 30/week @ 2024-01-22 26/week @ 2024-02-12 136/week @ 2024-02-19 135/week @ 2024-02-26 41/week @ 2024-03-04 31/week @ 2024-03-11 138/week @ 2024-03-18 155/week @ 2024-03-25 74/week @ 2024-04-01

401 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