2 releases (1 stable)
1.0.0 | Aug 24, 2023 |
---|---|
0.1.0 | Aug 24, 2023 |
#44 in #play
108 downloads per month
Used in 3 crates
(2 directly)
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