{"id":28574784,"url":"https://github.com/dylanhart/ulid-rs","last_synced_at":"2026-04-02T01:36:26.285Z","repository":{"id":21682801,"uuid":"93757589","full_name":"dylanhart/ulid-rs","owner":"dylanhart","description":"This is a Rust implementation of the ulid project","archived":false,"fork":false,"pushed_at":"2025-03-17T02:13:18.000Z","size":108,"stargazers_count":461,"open_issues_count":16,"forks_count":44,"subscribers_count":4,"default_branch":"master","last_synced_at":"2026-02-14T04:48:08.011Z","etag":null,"topics":["identifier","rust","sortable","ulid","uuid"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/ulid","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/dylanhart.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"zenodo":null}},"created_at":"2017-06-08T14:15:56.000Z","updated_at":"2026-02-03T16:09:41.000Z","dependencies_parsed_at":"2024-02-03T02:43:28.223Z","dependency_job_id":"cff43a69-6fa9-4db1-b850-46737982fea2","html_url":"https://github.com/dylanhart/ulid-rs","commit_stats":{"total_commits":92,"total_committers":10,"mean_commits":9.2,"dds":"0.30434782608695654","last_synced_commit":"0b9295c2db2114cd87aa19abcc1fc00c16b272db"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/dylanhart/ulid-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylanhart%2Fulid-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylanhart%2Fulid-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylanhart%2Fulid-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylanhart%2Fulid-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dylanhart","download_url":"https://codeload.github.com/dylanhart/ulid-rs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylanhart%2Fulid-rs/sbom","scorecard":{"id":362158,"data":{"date":"2025-08-11","repo":{"name":"github.com/dylanhart/ulid-rs","commit":"3804e42ab8b7406706364870e407ee002ac184cd"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.9,"checks":[{"name":"Code-Review","score":5,"reason":"Found 10/17 approved changesets -- score normalized to 5","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-build.yml:8: update your workflow using https://app.stepsecurity.io/secureworkflow/dylanhart/ulid-rs/ci-build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-build.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/dylanhart/ulid-rs/ci-build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci-build.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/dylanhart/ulid-rs/ci-build.yml/master?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci-build.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 23 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T11:05:55.249Z","repository_id":21682801,"created_at":"2025-08-18T11:05:55.250Z","updated_at":"2025-08-18T11:05:55.250Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31293970,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T01:05:07.454Z","status":"ssl_error","status_checked_at":"2026-04-02T00:56:46.496Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["identifier","rust","sortable","ulid","uuid"],"created_at":"2025-06-10T22:01:46.242Z","updated_at":"2026-04-02T01:36:26.257Z","avatar_url":"https://github.com/dylanhart.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# ulid-rs\n\n![Build Status](https://github.com/dylanhart/ulid-rs/actions/workflows/ci-build.yml/badge.svg)\n[![Crates.io](https://img.shields.io/crates/v/ulid.svg)](https://crates.io/crates/ulid)\n[![docs.rs](https://docs.rs/ulid/badge.svg)](https://docs.rs/ulid)\n\nThis is a Rust implementation of the [ulid][ulid] project which provides\nUniversally Unique Lexicographically Sortable Identifiers.\n\n[ulid]: https://github.com/ulid/spec\n\n## Quickstart\n\n```rust\nuse ulid::Ulid;\n\n// Generate a ulid\nlet ulid = Ulid::new();\n\n// Generate a string for a ulid\nlet s = ulid.to_string();\n\n// Create from a String\nlet res = Ulid::from_string(\u0026s);\n\nassert_eq!(ulid, res.unwrap());\n```\n\n## Crate Features\n\n* **`std` (default)**: Flag to toggle use of `std` and `rand`. Disable this flag for `#[no_std]` support.\n* **`serde`**: Enables serialization and deserialization of `Ulid` types via `serde`. ULIDs are serialized using their canonical 26-character representation as defined in the ULID standard. An optional `ulid_as_u128` module is provided, which enables serialization through an `Ulid`'s inner `u128` primitive type. See the [documentation][serde_mod] and [serde docs][serde_docs] for more information.\n* **`uuid`**: Implements infallible conversions between ULIDs and UUIDs from the [`uuid`][uuid] crate via the [`std::convert::From`][trait_from] trait.\n\n[serde_mod]: https://docs.rs/ulid/latest/ulid/serde/index.html\n[serde_docs]: https://serde.rs/field-attrs.html#with\n[uuid]: https://github.com/uuid-rs/uuid\n[trait_from]: https://doc.rust-lang.org/std/convert/trait.From.html\n\n## Benchmark\n\nBenchmarks were run on my desktop (Win 10/WSL2 Ubuntu; Ryzen 7 5950x). Run them yourself with `cargo bench`.\n\n```text\ntest bench_from_string        ... bench:          13 ns/iter (+/- 0)\ntest bench_from_time          ... bench:          13 ns/iter (+/- 0)\ntest bench_generator_generate ... bench:          29 ns/iter (+/- 0)\ntest bench_new                ... bench:          31 ns/iter (+/- 1)\ntest bench_to_str             ... bench:           7 ns/iter (+/- 0)\ntest bench_to_string          ... bench:          19 ns/iter (+/- 0)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdylanhart%2Fulid-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdylanhart%2Fulid-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdylanhart%2Fulid-rs/lists"}