uptimer 0.2.1

A multiplatform library to get the uptime of the current process.
Documentation
  • Coverage
  • 100%
    2 out of 2 items documented1 out of 2 items with examples
  • Size
  • Source code size: 9.82 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.08 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Nerixyz/uptimer
    0 0 1
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Nerixyz

uptimer

A multiplatform library to get the uptime of the current process.

  • Windows
  • Linux
  • macOS

Example

uptimer = { git = "https://github.com/nerixyz/uptimer", tag = "v0.2.0" }
use std::thread::sleep;
use std::time::Duration;

fn main() {
    sleep(Duration::from_secs(2));
    println!("{:?}", uptimer::get());
}