{"id":16114915,"url":"https://github.com/asaaki/yyid.rs","last_synced_at":"2025-10-13T10:34:45.896Z","repository":{"id":41982845,"uuid":"43331904","full_name":"asaaki/yyid.rs","owner":"asaaki","description":"YYID generator in Rust (random tokens like UUIDv4)","archived":false,"fork":false,"pushed_at":"2025-08-11T19:42:10.000Z","size":124,"stargazers_count":7,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-29T13:52:21.238Z","etag":null,"topics":["c","crate","crates","lib","no-std","random","rust","uuid","yyid"],"latest_commit_sha":null,"homepage":"https://docs.rs/yyid/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/asaaki.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","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":"2015-09-28T23:02:42.000Z","updated_at":"2025-08-27T12:07:59.000Z","dependencies_parsed_at":"2024-10-27T17:38:30.485Z","dependency_job_id":"90a8f77b-40d8-45de-838d-de8521d4b2d5","html_url":"https://github.com/asaaki/yyid.rs","commit_stats":{"total_commits":82,"total_committers":5,"mean_commits":16.4,"dds":"0.14634146341463417","last_synced_commit":"6908e5470dc5e4e0e7630c09c158f7465e5d1391"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/asaaki/yyid.rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asaaki%2Fyyid.rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asaaki%2Fyyid.rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asaaki%2Fyyid.rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asaaki%2Fyyid.rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asaaki","download_url":"https://codeload.github.com/asaaki/yyid.rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asaaki%2Fyyid.rs/sbom","scorecard":{"id":210640,"data":{"date":"2025-08-11","repo":{"name":"github.com/asaaki/yyid.rs","commit":"294920545dcdfd9bb9b9217b4dd24e596b30063f"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.5,"checks":[{"name":"Maintained","score":1,"reason":"2 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/10 approved changesets -- score normalized to 0","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":"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":"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":"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":"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.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/asaaki/yyid.rs/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/asaaki/yyid.rs/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/asaaki/yyid.rs/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dependabot-auto-merge.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/asaaki/yyid.rs/dependabot-auto-merge.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/dependabot-auto-merge.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/asaaki/yyid.rs/dependabot-auto-merge.yml/main?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Warn: no topLevel permission defined: .github/workflows/dependabot-auto-merge.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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE-APACHE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE-APACHE: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 'main'"],"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 20 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-17T00:43:03.098Z","repository_id":41982845,"created_at":"2025-08-17T00:43:03.098Z","updated_at":"2025-08-17T00:43:03.098Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279014641,"owners_count":26085555,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["c","crate","crates","lib","no-std","random","rust","uuid","yyid"],"created_at":"2024-10-09T20:16:31.182Z","updated_at":"2025-10-13T10:34:45.862Z","avatar_url":"https://github.com/asaaki.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# YYID generator in Rust \n\n[![GitHub Workflow Status (branch)](https://img.shields.io/github/workflow/status/asaaki/yyid.rs/Rust/master)](https://github.com/asaaki/yyid.rs/actions?query=workflow%3ARust)  [![yyid on crates.io](https://img.shields.io/crates/v/yyid.svg)](https://crates.io/crates/yyid) [![yyid documentation](https://docs.rs/yyid/badge.svg)](https://docs.rs/yyid/)\n\nGenerates random tokens that look like [type 4 UUIDs](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_4_.28random.29): `xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx`\n\nIn contrast to [RFC 4122](https://tools.ietf.org/rfc/rfc4122.txt), it uses all digits (128bit).\n\nSource of randomness: [getrandom](https://crates.io/crates/getrandom)\n\n## Examples\n\n### Rust\n\nAdd `yyid = \"*\"` to your dependencies section in `Cargo.toml`.\n\n```rust\nuse yyid::*;\n\nfn main() {\n    println!(\"{}\", Yyid::new());\n    // =\u003e \"02e7f0f6-067e-8c92-b25c-12c9180540a9\"\n}\n```\n\n## Documentation\n\n\u003chttps://docs.rs/yyid/\u003e\n\n## Notes\n\n* The current implementation is derived from the [uuid](http://doc.rust-lang.org/uuid/uuid/index.html) crate\n* It does not implement everything (no parsing, only generation of tokens)\n* Functionality will also be reduced down to the reference implementations (see _Also Available As_)\n* The default format is with hyphens (more human readable by default, only 4 bytes extra)\n* For simplicity only the *Ref types are implemented (no owning structures); format at the latest point possible\n\n## Also Available As \n\n- YYID for [Ruby](https://github.com/janlelis/yyid.rb)\n- YYID for [JavaScript](https://github.com/janlelis/yyid.js)\n- YYID for [Elixir](https://github.com/janlelis/yyid.ex)\n- YYID for [Go](https://github.com/janlelis/yyid.go)\n\n## License\n\nLicensed under either of\n\n * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)\n * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n\nat your option.\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally\nsubmitted for inclusion in the work by you, as defined in the Apache-2.0\nlicense, shall be dual licensed as above, without any additional terms or\nconditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasaaki%2Fyyid.rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasaaki%2Fyyid.rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasaaki%2Fyyid.rs/lists"}