{"id":29572758,"url":"https://github.com/maxblee/derive_custom_enum_traits","last_synced_at":"2025-07-19T05:11:15.387Z","repository":{"id":43404629,"uuid":"465552938","full_name":"maxblee/derive_custom_enum_traits","owner":"maxblee","description":null,"archived":false,"fork":false,"pushed_at":"2022-03-03T03:27:35.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-03-08T20:57:11.422Z","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/maxblee.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":"2022-03-03T03:22:21.000Z","updated_at":"2022-03-03T03:22:37.000Z","dependencies_parsed_at":"2022-08-26T20:58:20.468Z","dependency_job_id":null,"html_url":"https://github.com/maxblee/derive_custom_enum_traits","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/maxblee/derive_custom_enum_traits","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxblee%2Fderive_custom_enum_traits","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxblee%2Fderive_custom_enum_traits/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxblee%2Fderive_custom_enum_traits/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxblee%2Fderive_custom_enum_traits/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxblee","download_url":"https://codeload.github.com/maxblee/derive_custom_enum_traits/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxblee%2Fderive_custom_enum_traits/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265892544,"owners_count":23845039,"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":"2025-07-19T05:11:14.329Z","updated_at":"2025-07-19T05:11:15.379Z","avatar_url":"https://github.com/maxblee.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# derive_custom_enum_traits\n\nThis is a set of (currently one) derive macros for Rust for dealing with enums. Its current macro, `DeriveIndex`\ncreates two functions for an enum, `to_index`, which converts an enum variant into its 0-indexed order; and\n`from_index` which converts a `usize` into an `Option\u003cVariant\u003e`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxblee%2Fderive_custom_enum_traits","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxblee%2Fderive_custom_enum_traits","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxblee%2Fderive_custom_enum_traits/lists"}