#uuid #generate #play

uuidv4

A lightweight library for generating UUID v4

2 releases (1 stable)

1.0.0 Aug 24, 2023
0.1.0 Aug 24, 2023

#44 in #play

Download history 63/week @ 2024-03-15 28/week @ 2024-03-22 55/week @ 2024-03-29 27/week @ 2024-04-05 36/week @ 2024-04-12 43/week @ 2024-04-19 22/week @ 2024-04-26 24/week @ 2024-05-03 11/week @ 2024-05-10 12/week @ 2024-05-17 10/week @ 2024-05-24 30/week @ 2024-05-31 18/week @ 2024-06-07 13/week @ 2024-06-14 47/week @ 2024-06-21 19/week @ 2024-06-28

108 downloads per month
Used in 3 crates (2 directly)

Unlicense

3KB

uuidv4

A Rust library for generating UUID v4.

Installation

Run:

cargo add uuidv4

Or manually add to your Cargo.toml:

[dependencies]
uuidv4 = "1.0.0"

Usage

use uuidv4::uuid;

fn main() {
    let my_uuid = uuid::v4();
    println!("Generated UUID: {}", my_uuid);
}

You can play around with UUIDs or generate them online here

Dependencies

~305KB