rjob 0.1.2

A Simple Job Scheduler By Rust.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use uuid::Uuid;

/// Generates a UUID without hyphens.
///
/// # Examples
///
/// ```
/// let uuid = generate_uuid_without_hyphens();
/// println!("UUID without hyphens: {}", uuid);
/// ```
///
/// # Returns
///
/// A `String` representation of the generated UUID without hyphens.
pub fn generate_uuid_without_hyphens() -> String {
    let uuid = Uuid::new_v4();
    uuid.to_string().replace("-", "")
}