2 unstable releases

Uses old Rust 2015

0.1.0 Jul 14, 2017
0.0.0 Jul 14, 2017

#571 in Operating systems

Download history 75/week @ 2024-06-17 9/week @ 2024-06-24 42/week @ 2024-07-01 65/week @ 2024-07-08 10/week @ 2024-07-15 69/week @ 2024-07-22 42/week @ 2024-07-29 55/week @ 2024-08-05 9/week @ 2024-08-26 10/week @ 2024-09-02 14/week @ 2024-09-09 14/week @ 2024-09-16 67/week @ 2024-09-23 157/week @ 2024-09-30

257 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