{"id":18325010,"url":"https://github.com/maxdeviant/entity-id","last_synced_at":"2025-04-06T00:31:07.717Z","repository":{"id":147773128,"uuid":"618981741","full_name":"maxdeviant/entity-id","owner":"maxdeviant","description":null,"archived":false,"fork":false,"pushed_at":"2023-09-09T14:53:59.000Z","size":36,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-21T13:53:24.322Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxdeviant.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-25T22:50:46.000Z","updated_at":"2023-07-25T15:09:44.000Z","dependencies_parsed_at":"2024-11-05T18:53:30.171Z","dependency_job_id":null,"html_url":"https://github.com/maxdeviant/entity-id","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxdeviant%2Fentity-id","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxdeviant%2Fentity-id/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxdeviant%2Fentity-id/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxdeviant%2Fentity-id/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxdeviant","download_url":"https://codeload.github.com/maxdeviant/entity-id/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247419597,"owners_count":20936009,"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":[],"created_at":"2024-11-05T18:36:32.773Z","updated_at":"2025-04-06T00:31:07.712Z","avatar_url":"https://github.com/maxdeviant.png","language":"Rust","readme":"# entity_id\n\n[![crates.io](https://img.shields.io/crates/v/entity_id.svg)](https://crates.io/crates/entity_id)\n[![docs.rs](https://docs.rs/entity_id/badge.svg)](https://docs.rs/entity_id/)\n[![crates.io](https://img.shields.io/crates/l/entity_id.svg)](https://github.com/maxdeviant/entity-id/blob/master/LICENSE)\n[![CI](https://github.com/maxdeviant/entity-id/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/maxdeviant/entity-id/actions/workflows/ci.yml)\n\nProduction-grade entity IDs for your web application.\n\n## Features\n\n- All the features of [ULIDs](https://github.com/ulid/spec)\n- Prefixed IDs à la Stripe (`cus_01gwfyayqspvsdqzd32nh44psh`)\n- Easy conversion to and from UUIDs\n\n## Usage\n\n```rust\nuse entity_id::EntityId;\nuse ulid::Ulid;\n\n#[derive(EntityId, Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Clone, Copy)]\n#[entity_id(prefix = \"movie\")]\nstruct MovieId(Ulid);\n\nlet movie_id = MovieId::new();\n\nprintln!(\"{}\", movie_id);\n// movie_01gwe2pv0c3p1xbcfvm4n8vx08\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxdeviant%2Fentity-id","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxdeviant%2Fentity-id","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxdeviant%2Fentity-id/lists"}