Lines Matching full:uuid
1 # `uuid`
3 [](https://crates.io/crates/uuid)
5 …ous integration](https://github.com/uuid-rs/uuid/actions/workflows/ci.yml/badge.svg)](https://gith…
7 Here's an example of a UUID:
13 A UUID is a unique 128-bit value, stored as 16 octets, and regularly
18 disparate areas, such as databases and network protocols. Typically a UUID
31 [dependencies.uuid]
40 When you want a UUID, you can generate one:
43 use uuid::Uuid;
45 let id = Uuid::new_v4();
48 If you have a UUID value, you can use its string literal form inline:
51 use uuid::{uuid, Uuid};
53 const ID: Uuid = uuid!("67e55044-10b1-426f-9247-bb680e5fe0c8");
59 use uuid::{Uuid, Version};
61 let my_uuid = Uuid::parse_str("67e55044-10b1-426f-9247-bb680e5fe0c8")?;
66 …u'd like to parse UUIDs _really_ fast, check out the [`uuid-simd`](https://github.com/nugine/uuid-…
69 For more details on using `uuid`, [see the library documentation](https://docs.rs/uuid/1.3.0/uuid).
73 The minimum supported Rust version for `uuid` is documented in
78 * [`uuid` library docs](https://docs.rs/uuid/1.3.0/uuid).
80 * [RFC4122: A Universally Unique IDentifier (UUID) URN Namespace](http://tools.ietf.org/html/rfc412…