{"id":13502948,"url":"https://github.com/uuid-rs/uuid","last_synced_at":"2026-04-06T06:03:58.479Z","repository":{"id":19212582,"uuid":"22446506","full_name":"uuid-rs/uuid","owner":"uuid-rs","description":"Generate and parse UUIDs.","archived":false,"fork":false,"pushed_at":"2025-03-18T22:52:36.000Z","size":1833,"stargazers_count":1066,"open_issues_count":10,"forks_count":209,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-03-20T20:44:32.157Z","etag":null,"topics":["parse-uuids","rust","uuid"],"latest_commit_sha":null,"homepage":"https://www.crates.io/crates/uuid","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"alexcrack/angular-ui-notification","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uuid-rs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE-APACHE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-07-30T22:03:55.000Z","updated_at":"2025-03-20T07:23:21.000Z","dependencies_parsed_at":"2023-02-17T02:17:03.773Z","dependency_job_id":"71e48630-0011-49a8-91e8-374f0afc3023","html_url":"https://github.com/uuid-rs/uuid","commit_stats":{"total_commits":1079,"total_committers":152,"mean_commits":7.098684210526316,"dds":0.6793327154772938,"last_synced_commit":"4473398413f7e3f4103374559b8d038b4801329a"},"previous_names":[],"tags_count":59,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uuid-rs%2Fuuid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uuid-rs%2Fuuid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uuid-rs%2Fuuid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uuid-rs%2Fuuid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uuid-rs","download_url":"https://codeload.github.com/uuid-rs/uuid/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246187190,"owners_count":20737459,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["parse-uuids","rust","uuid"],"created_at":"2024-07-31T22:02:31.397Z","updated_at":"2026-04-06T06:03:58.474Z","avatar_url":"https://github.com/uuid-rs.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# `uuid`\n\n[![Latest Version](https://img.shields.io/crates/v/uuid.svg)](https://crates.io/crates/uuid)\n[![Continuous integration](https://github.com/uuid-rs/uuid/actions/workflows/ci.yml/badge.svg)](https://github.com/uuid-rs/uuid/actions/workflows/ci.yml)\n\nHere's an example of a UUID:\n\n```text\n67e55044-10b1-426f-9247-bb680e5fe0c8\n```\n\nA UUID is a unique 128-bit value, stored as 16 octets, and regularly\nformatted as a hex string in five groups. UUIDs are used to assign unique\nidentifiers to entities without requiring a central allocating authority.\n\nThey are particularly useful in distributed systems, though can be used in\ndisparate areas, such as databases and network protocols.  Typically a UUID\nis displayed in a readable string form as a sequence of hexadecimal digits,\nseparated into groups by hyphens.\n\nThe uniqueness property is not strictly guaranteed, however for all\npractical purposes, it can be assumed that an unintentional collision would\nbe extremely unlikely.\n\n## Getting started\n\nAdd the following to your `Cargo.toml`:\n\n```toml\n[dependencies.uuid]\nversion = \"1.22.0\"\n# Lets you generate random UUIDs\nfeatures = [\n    \"v4\",\n]\n```\n\nWhen you want a UUID, you can generate one:\n\n```rust\nuse uuid::Uuid;\n\nlet id = Uuid::new_v4();\n```\n\nIf you have a UUID value, you can use its string literal form inline:\n\n```rust\nuse uuid::{uuid, Uuid};\n\nconst ID: Uuid = uuid!(\"67e55044-10b1-426f-9247-bb680e5fe0c8\");\n```\n\nYou can also parse UUIDs without needing any crate features:\n\n```rust\nuse uuid::{Uuid, Version};\n\nlet my_uuid = Uuid::parse_str(\"67e55044-10b1-426f-9247-bb680e5fe0c8\")?;\n\nassert_eq!(Some(Version::Random), my_uuid.get_version());\n```\n\nIf you'd like to parse UUIDs _really_ fast, check out the [`uuid-simd`](https://github.com/nugine/uuid-simd)\nlibrary.\n\nFor more details on using `uuid`, [see the library documentation](https://docs.rs/uuid/1.22.0/uuid).\n\n## References\n\n* [`uuid` library docs](https://docs.rs/uuid/1.22.0/uuid).\n* [Wikipedia: Universally Unique Identifier](http://en.wikipedia.org/wiki/Universally_unique_identifier).\n* [RFC 9562: Universally Unique IDentifiers (UUID)](https://www.ietf.org/rfc/rfc9562.html).\n\n---\n# License\n\nLicensed under either of\n\n* Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)\n* MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)\n\nat your option.\n\n## Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall\nbe dual licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuuid-rs%2Fuuid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuuid-rs%2Fuuid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuuid-rs%2Fuuid/lists"}