Crates.io | uuidv4 |
lib.rs | uuidv4 |
version | 1.0.0 |
source | src |
created_at | 2023-08-24 16:19:34.198437 |
updated_at | 2023-08-24 16:24:00.075168 |
description | A lightweight library for generating UUID v4 |
homepage | |
repository | |
max_upload_size | |
id | 953965 |
size | 4,091 |
A Rust library for generating UUID v4.
Run:
cargo add uuidv4
Or manually add to your Cargo.toml:
[dependencies]
uuidv4 = "1.0.0"
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