simple/
simple.rs

1use rust_snowflake::IdWorker;
2
3fn main() {
4    let mut worker = IdWorker::new(0, 0, 1586497735375);
5
6    for _ in 0..10 {
7        println!("{}", worker.next_id());
8    }
9}