restapi 1.1.14

A secure-by-default rest api using hyper, tokio, bb8, kafka-threadpool, postgres, and prometheus for monitoring
Documentation
//! Module for getting a uuid (without dash characters)
//!

/// get_uuid
///
/// wrapper for building a unique id
///
/// # Returns
///
/// `String` with a reasonaly-unique identifier
///
/// # Examples
///
/// ```rust
/// use restapi::utils::get_uuid::get_uuid;
/// assert_ne!(get_uuid(), format!("not-a-uuid"));
/// ```
///
pub fn get_uuid() -> String {
    uuid::Uuid::new_v4().to_string().replace('-', "")
}