1 unstable release

0.1.0 Nov 15, 2022

#467 in Date and time

Download history 17/week @ 2024-02-22 52/week @ 2024-02-29

69 downloads per month

MIT license

8KB
59 lines

#[cfg(test)]
mod tests {
    use chrono::{Duration, Local};
    use super::*;

    #[test]
    fn it_works() {
        let a: DateTime<Local> = Local::now();
        println!("{}", rand_time(a.sub(Duration::days(180)),a));
        println!("{}", rand_id_no(a));
        println!("{}", rand_phone());
        println!("{}",rand_name());
    }
}

Dependencies

~1.5MB
~23K SLoC