tempest 0.1.0

Realtime message handling framework inspired by Apache Storm and built with Actix
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::time::{SystemTime, UNIX_EPOCH};

pub fn now_millis() -> usize {
    match SystemTime::now().duration_since(UNIX_EPOCH) {
        Ok(n) => n.as_millis() as usize,
        Err(_) => 0,
    }
}

pub mod logger {
    pub use log::{debug, error, info, log, trace, warn};
}