// Bits of timestamp
pub const TS_BITS: i32 = 41;
// Bits of worker id
pub const WID_BITS: i32 = 10;
// Bits of sequence
pub const SEQ_BITS: i32 = 12;
// timestamp left shift
pub const TS_SHIFT: i32 = SEQ_BITS + WID_BITS;
// worker id left shift
pub const WID_SHIFT: i32 = SEQ_BITS;
// maximize timestamp value
pub const MAX_TS: u64 = as u64;
// maximize worker id value
pub const MAX_WID: u16 = as u16;
// maximize sequence value
pub const MAX_SEQ: u16 = as u16;