use uuid::Uuid;

pub fn allocate_element_key() -> String {
    let uuid_ = format!("{}", Uuid::new_v4());
    format!("{0:.8}", uuid_)
}

use uuid::Uuid;

pub fn allocate_element_key() -> String {
    let uuid_ = format!("{}", Uuid::new_v4());
    format!("{0:.3}", uuid_)
}

Reduce length of generated element key components to 3 chars.
Reduce length of generated element key components to 3 chars.
