vertigo-cli 0.3.2

Reactive Real-DOM library with SSR for Rust - packaging/serving tool
Documentation
1
2
3
4
5
6
7
8
use std::time::{SystemTime, UNIX_EPOCH, Duration};

pub fn get_now() -> Duration {
    let start = SystemTime::now();
    start
        .duration_since(UNIX_EPOCH)
        .expect("Time went backwards")
}