snowcloud 0.4.0

small crate for creating custom snowflakes that provides thread safe and non thread safe generators
Documentation
1
2
3
4
5
6
7
8
9
use std::time::Duration;

/// stores sequence and prev_time for a generator
#[derive(Clone)]
pub struct Counts {
    pub sequence: u64,
    pub prev_time: Duration,
}