{"id":4074373,"name":"enum_primitive","ecosystem":"cargo","description":"Macro to generate num::FromPrimitive instances for enum that works in Rust 1.0","homepage":"https://github.com/andersk/enum_primitive-rs","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/andersk/enum_primitive-rs","keywords_array":[],"namespace":null,"versions_count":4,"first_release_published_at":"2015-04-07T07:55:53.608Z","latest_release_published_at":"2017-01-09T01:07:32.180Z","latest_release_number":"0.1.1","last_synced_at":"2026-05-23T22:31:57.444Z","created_at":"2022-04-12T11:43:37.264Z","updated_at":"2026-05-23T22:32:44.847Z","registry_url":"https://crates.io/crates/enum_primitive/","install_command":"cargo install enum_primitive","documentation_url":"https://docs.rs/enum_primitive/","metadata":{"categories":[]},"repo_metadata":{"id":29982269,"uuid":"33529441","full_name":"andersk/enum_primitive-rs","owner":"andersk","description":"Macro to generate num::FromPrimitive instances for enum that works in Rust 1.0","archived":false,"fork":false,"pushed_at":"2022-09-27T03:50:57.000Z","size":1290,"stargazers_count":66,"open_issues_count":10,"forks_count":22,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-24T22:41:44.023Z","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/andersk.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}},"created_at":"2015-04-07T07:48:30.000Z","updated_at":"2025-07-06T20:00:19.000Z","dependencies_parsed_at":"2022-09-26T20:10:47.955Z","dependency_job_id":null,"html_url":"https://github.com/andersk/enum_primitive-rs","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/andersk/enum_primitive-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersk%2Fenum_primitive-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersk%2Fenum_primitive-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersk%2Fenum_primitive-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersk%2Fenum_primitive-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andersk","download_url":"https://codeload.github.com/andersk/enum_primitive-rs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersk%2Fenum_primitive-rs/sbom","scorecard":{"id":191789,"data":{"date":"2025-08-11","repo":{"name":"github.com/andersk/enum_primitive-rs","commit":"cb616444d435be5809b9a61f7a93d502e2e3fd02"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"Code-Review","score":0,"reason":"Found 1/15 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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"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 1 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-16T20:51:54.685Z","repository_id":29982269,"created_at":"2025-08-16T20:51:54.685Z","updated_at":"2025-08-16T20:51:54.685Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27355606,"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-11-29T02:00:06.589Z","response_time":56,"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"},"tags":[{"name":"0.1.1","sha":"cb616444d435be5809b9a61f7a93d502e2e3fd02","kind":"tag","published_at":"2017-01-09T01:06:39.000Z","download_url":"https://codeload.github.com/andersk/enum_primitive-rs/tar.gz/0.1.1","html_url":"https://github.com/andersk/enum_primitive-rs/releases/tag/0.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/andersk/enum_primitive-rs@0.1.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersk%2Fenum_primitive-rs/tags/0.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersk%2Fenum_primitive-rs/tags/0.1.1/manifests"},{"name":"0.1.0","sha":"1d19c409e90633860305754a3f3975e460ca31db","kind":"tag","published_at":"2015-08-13T23:56:44.000Z","download_url":"https://codeload.github.com/andersk/enum_primitive-rs/tar.gz/0.1.0","html_url":"https://github.com/andersk/enum_primitive-rs/releases/tag/0.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/andersk/enum_primitive-rs@0.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersk%2Fenum_primitive-rs/tags/0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersk%2Fenum_primitive-rs/tags/0.1.0/manifests"},{"name":"0.0.2","sha":"1c60699b6b68f6bfc108da6bdc68b11622508fb9","kind":"tag","published_at":"2015-04-08T11:09:52.000Z","download_url":"https://codeload.github.com/andersk/enum_primitive-rs/tar.gz/0.0.2","html_url":"https://github.com/andersk/enum_primitive-rs/releases/tag/0.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/andersk/enum_primitive-rs@0.0.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersk%2Fenum_primitive-rs/tags/0.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersk%2Fenum_primitive-rs/tags/0.0.2/manifests"},{"name":"0.0.1","sha":"c403d0e9f0add27c6083d19a450acaff7fae64d5","kind":"tag","published_at":"2015-04-07T08:07:16.000Z","download_url":"https://codeload.github.com/andersk/enum_primitive-rs/tar.gz/0.0.1","html_url":"https://github.com/andersk/enum_primitive-rs/releases/tag/0.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/andersk/enum_primitive-rs@0.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersk%2Fenum_primitive-rs/tags/0.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersk%2Fenum_primitive-rs/tags/0.0.1/manifests"}]},"repo_metadata_updated_at":"2026-05-23T22:32:44.819Z","dependent_packages_count":139,"downloads":7380048,"downloads_period":"total","dependent_repos_count":1149,"rankings":{"downloads":1.0616062433273687,"dependent_repos_count":1.2225012405455393,"dependent_packages_count":0.4578775234013759,"stargazers_count":15.944393486008149,"forks_count":11.923672849256134,"docker_downloads_count":2.226967204487016,"average":5.472836424504263},"purl":"pkg:cargo/enum_primitive","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/cargo/enum_primitive","docker_dependents_count":41,"docker_downloads_count":23284740,"usage_url":"https://repos.ecosyste.ms/usage/cargo/enum_primitive","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/cargo/enum_primitive/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-10T23:07:04.146Z","issues_count":10,"pull_requests_count":10,"avg_time_to_close_issue":25109361.0,"avg_time_to_close_pull_request":59913949.666666664,"issues_closed_count":4,"pull_requests_closed_count":6,"pull_request_authors_count":10,"issue_authors_count":9,"avg_comments_per_issue":1.9,"avg_comments_per_pull_request":1.4,"merged_pull_requests_count":1,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersk%2Fenum_primitive-rs/issues","maintainers":[{"login":"andersk","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/andersk"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/enum_primitive/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/enum_primitive/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/enum_primitive/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/enum_primitive/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/enum_primitive/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/enum_primitive/codemeta","maintainers":[{"uuid":"1337","login":"andersk","name":"Anders Kaseorg","email":null,"url":"https://github.com/andersk","packages_count":1,"html_url":"https://crates.io/users/andersk","role":null,"created_at":"2022-11-07T18:56:20.758Z","updated_at":"2022-11-07T18:56:20.758Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/maintainers/andersk/packages"}]}