Multi-platform uptime library for Rust

Travis Build Status AppVeyor Build status MIT licensed crates.io

Example

```rust extern crate uptime_lib;

fn main() { match uptimelib::get() { Ok(uptime) => { println!("uptime: {} seconds", uptime.nummilliseconds() as f64 / 1000.0); } Err(err) => { eprintln!("uptime: {}", err); std::process::exit(1); } } } ```

Author

itchyny (https://github.com/itchyny)

License

This software is released under the MIT License, see LICENSE.