feroxfuzz 1.0.0-rc.13

Structure-aware, black box HTTP fuzzing library
Documentation
1
2
3
4
5
6
7
8
use std::time::{Duration, SystemTime, UNIX_EPOCH};

/// get current time since unix epoch
#[must_use]
#[inline]
pub fn current_time() -> Duration {
    SystemTime::now().duration_since(UNIX_EPOCH).unwrap()
}