{"id":4074213,"name":"enum_like","ecosystem":"cargo","description":"A trait to treat any type as an enum.\n\nIf a type has a reasonably small number of variants,\nfor example a `struct A(bool, bool)` which has 4 variants,\nthis trait provides a 1-to-1 mapping from type value to a\ndiscriminant value.\n\nIt also provides an iterator over all the possible values.\n\nThis crate is mainly meant to be used along with\n[enum_like_derive](https://crates.io/crates/enum_like_derive)\nand\n[enum_vec](https://crates.io/crates/enum_vec)\n.\n","homepage":null,"licenses":"GPL-3.0+","normalized_licenses":["GPL-3.0+"],"repository_url":"https://github.com/badel2/enum_vec","keywords_array":[],"namespace":null,"versions_count":3,"first_release_published_at":"2018-07-11T16:36:57.753Z","latest_release_published_at":"2018-11-19T21:23:30.610Z","latest_release_number":"0.2.1","last_synced_at":"2026-03-27T12:26:46.251Z","created_at":"2022-04-12T11:42:59.424Z","updated_at":"2026-03-27T12:26:46.359Z","registry_url":"https://crates.io/crates/enum_like/","install_command":"cargo install enum_like","documentation_url":"https://docs.rs/enum_like/","metadata":{"categories":[]},"repo_metadata":{"id":57625239,"uuid":"126724584","full_name":"Badel2/enum_vec","owner":"Badel2","description":"Efficiently store a vector of enum variants","archived":false,"fork":false,"pushed_at":"2019-02-03T17:02:24.000Z","size":2652,"stargazers_count":5,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-06T19:01:40.733Z","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":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Badel2.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":"2018-03-25T17:56:43.000Z","updated_at":"2025-08-26T22:45:10.000Z","dependencies_parsed_at":"2022-09-26T20:10:26.444Z","dependency_job_id":null,"html_url":"https://github.com/Badel2/enum_vec","commit_stats":null,"previous_names":["badel2/enum-vec"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Badel2/enum_vec","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Badel2%2Fenum_vec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Badel2%2Fenum_vec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Badel2%2Fenum_vec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Badel2%2Fenum_vec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Badel2","download_url":"https://codeload.github.com/Badel2/enum_vec/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Badel2%2Fenum_vec/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284108873,"owners_count":26948785,"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-12T02:00:06.336Z","response_time":59,"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":"Badel2","name":null,"uuid":"15879619","kind":"user","description":null,"email":"","website":null,"location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/15879619?u=2baa7033dfada0e0481f0b4c353bd5340f0dc82e\u0026v=4","repositories_count":10,"last_synced_at":"2023-03-04T09:47:00.834Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/Badel2","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-14T17:09:04.197Z","updated_at":"2023-03-04T09:47:00.947Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Badel2","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Badel2/repositories"},"tags":[]},"repo_metadata_updated_at":"2026-03-27T12:26:46.331Z","dependent_packages_count":2,"downloads":7330,"downloads_period":"total","dependent_repos_count":1,"rankings":{"downloads":26.38823547266022,"dependent_repos_count":16.737754436028595,"dependent_packages_count":12.226143046860178,"stargazers_count":34.368168569346615,"forks_count":40.66462780691037,"docker_downloads_count":null,"average":26.076985866361195},"purl":"pkg:cargo/enum_like","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/cargo/enum_like","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/cargo/enum_like","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/cargo/enum_like/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-24T06:00:03.608Z","issues_count":3,"pull_requests_count":0,"avg_time_to_close_issue":177360.0,"avg_time_to_close_pull_request":null,"issues_closed_count":1,"pull_requests_closed_count":0,"pull_request_authors_count":0,"issue_authors_count":1,"avg_comments_per_issue":0.0,"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/Badel2%2Fenum_vec/issues","maintainers":[{"login":"Badel2","count":3,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/Badel2"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/enum_like/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/enum_like/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/enum_like/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/enum_like/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/enum_like/codemeta","maintainers":[{"uuid":"24800","login":"Badel2","name":null,"email":null,"url":"https://github.com/Badel2","packages_count":14,"html_url":"https://crates.io/users/Badel2","role":null,"created_at":"2022-11-07T18:56:15.570Z","updated_at":"2022-11-07T18:56:15.570Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/maintainers/Badel2/packages"}]}