rustix 0.35.7

Safe Rust bindings to POSIX/Unix/Linux/Winsock2-like syscalls
Documentation
//! A command which prints the current values of the realtime and monotonic
//! clocks it's given.

#[cfg(not(windows))]
#[cfg(feature = "time")]
fn main() {
    println!(
        "Real time: {:?}",
        rustix::time::clock_gettime(rustix::time::ClockId::Realtime)
    );
    println!(
        "Monotonic time: {:?}",
        rustix::time::clock_gettime(rustix::time::ClockId::Monotonic)
    );
}

#[cfg(any(windows, not(feature = "time")))]
fn main() {
    unimplemented!()
}