{"id":6724065,"name":"enum2pos","ecosystem":"cargo","description":"enum2pos is a rust derive macro for enums that generates \"from_index(usize, Vec\u003cString\u003e) -\u003e Option\u003cSelf\u003e\" and\n\"to_index()\" methods for converting between an variants and\ntheir position within the enum declaration (similar to an index).\n","homepage":"https://github.com/matthewjberger/enum2pos","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/matthewjberger/enum2pos","keywords_array":["enum","index","macro","string"],"namespace":null,"versions_count":3,"first_release_published_at":"2023-03-24T20:20:52.661Z","latest_release_published_at":"2024-10-23T20:07:26.297Z","latest_release_number":"0.1.2","last_synced_at":"2026-07-17T04:09:47.207Z","created_at":"2023-03-24T21:42:32.049Z","updated_at":"2026-09-18T20:46:14.309Z","registry_url":"https://crates.io/crates/enum2pos/","install_command":"cargo install enum2pos","documentation_url":"https://docs.rs/enum2pos/","metadata":{"categories":[]},"repo_metadata":{"id":147107792,"uuid":"618214414","full_name":"matthewjberger/enum2pos","owner":"matthewjberger","description":"A rust derive macro for converting enums to their field declaration index and back 🦀","archived":false,"fork":false,"pushed_at":"2025-11-10T05:02:46.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-09-16T20:55:43.349Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matthewjberger.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-03-24T01:38:36.000Z","updated_at":"2025-11-10T05:02:50.000Z","dependencies_parsed_at":"2023-11-19T12:45:16.545Z","dependency_job_id":null,"html_url":"https://github.com/matthewjberger/enum2pos","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"f1ab1025ad34bd8c33f1c7e764e150eaeebdf253"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/matthewjberger/enum2pos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthewjberger%2Fenum2pos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthewjberger%2Fenum2pos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthewjberger%2Fenum2pos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthewjberger%2Fenum2pos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matthewjberger","download_url":"https://codeload.github.com/matthewjberger/enum2pos/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthewjberger%2Fenum2pos/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":341189360,"owners_count":37444249,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-09-18T02:00:15.364Z","response_time":89,"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"},"owner_record":{"login":"matthewjberger","name":"Matthew J. Berger","uuid":"7131091","kind":"user","description":"Senior Staff Software Engineer (Founding Engineer) @usehyphen from 2021-2026 and Creator of the Nightshade Game Engine","email":"","website":"https://matthewberger.dev","location":"Denver, Colorado","twitter":null,"company":"Hyphen","icon_url":"https://avatars.githubusercontent.com/u/7131091?u=b3103cb23f2713cb59b8bf331b00f13baeaac6c8\u0026v=4","repositories_count":173,"last_synced_at":"2026-09-16T15:22:01.127Z","metadata":{"has_sponsors_listing":true,"funding":null},"html_url":"https://github.com/matthewjberger","funding_links":["https://github.com/sponsors/matthewjberger"],"total_stars":741,"followers":87,"following":21,"created_at":"2022-11-03T17:37:22.612Z","updated_at":"2026-09-16T15:22:01.144Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matthewjberger","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matthewjberger/repositories"},"tags":[]},"repo_metadata_updated_at":"2026-09-18T20:46:14.309Z","dependent_packages_count":0,"downloads":29721,"downloads_period":"total","dependent_repos_count":0,"rankings":{"downloads":96.75321714228387,"dependent_repos_count":29.30881883297596,"dependent_packages_count":34.51356506027395,"stargazers_count":55.21111851290802,"forks_count":40.36575016197768,"average":51.230493942083896},"purl":"pkg:cargo/enum2pos","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/cargo/enum2pos","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/cargo/enum2pos","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/cargo/enum2pos/dependencies","status":null,"funding_links":["https://github.com/sponsors/matthewjberger"],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-13T13:35:28.608Z","issues_count":0,"pull_requests_count":0,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":null,"issues_closed_count":0,"pull_requests_closed_count":0,"pull_request_authors_count":0,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":null,"merged_pull_requests_count":0,"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/matthewjberger%2Fenum2pos/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/enum2pos/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/enum2pos/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/enum2pos/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/enum2pos/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/enum2pos/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/enum2pos/codemeta","maintainers":[{"uuid":"4400","login":"matthewjberger","name":"Matthew J. Berger","email":null,"url":"https://github.com/matthewjberger","packages_count":39,"html_url":"https://crates.io/users/matthewjberger","role":null,"created_at":"2023-03-25T03:19:58.590Z","updated_at":"2023-03-25T03:19:58.590Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/maintainers/matthewjberger/packages"}]}