nvo_servers 0.1.5

A high-performance, async HTTP server library with zero panics in production
Documentation
1
2
3
4
5
6
7
8
9
#![cfg(test)]
use std::time::{SystemTime, UNIX_EPOCH};

pub fn poor_mans_random() -> u32 {
    SystemTime::now()
        .duration_since(UNIX_EPOCH)
        .unwrap()
        .subsec_nanos()
}