2 unstable releases

Uses old Rust 2015

0.1.0 Jul 14, 2017
0.0.0 Jul 14, 2017

#634 in Operating systems

Download history 1/week @ 2023-11-27 51/week @ 2023-12-04 18/week @ 2023-12-11 9/week @ 2024-01-01 98/week @ 2024-01-08 24/week @ 2024-01-15 40/week @ 2024-01-22 44/week @ 2024-02-12 148/week @ 2024-02-19 135/week @ 2024-02-26

327 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