mod configing;
pub mod habbing;
pub mod keeping;
pub fn ri_key(pre: &[u8], ri: usize) -> Vec<u8> {
let mut key = Vec::with_capacity(pre.len() + 1 + 32);
key.extend_from_slice(pre);
key.push(b'.');
let ri_hex = format!("{:032x}", ri);
key.extend_from_slice(ri_hex.as_bytes());
key
}