{"id":3492202,"name":"enumflags2","ecosystem":"cargo","description":"Enum-based bit flags","homepage":null,"licenses":"MIT OR Apache-2.0","normalized_licenses":["MIT","Apache-2.0"],"repository_url":"https://github.com/meithecatte/enumflags2","keywords_array":["bitflag","bitflags","enum","flag"],"namespace":null,"versions_count":22,"first_release_published_at":"2019-01-29T21:27:53.371Z","latest_release_published_at":"2025-06-09T22:16:25.147Z","latest_release_number":"0.7.12","last_synced_at":"2026-04-25T10:03:44.731Z","created_at":"2022-04-10T19:07:23.312Z","updated_at":"2026-04-25T10:52:25.781Z","registry_url":"https://crates.io/crates/enumflags2/","install_command":"cargo install enumflags2","documentation_url":"https://docs.rs/enumflags2/","metadata":{"categories":[]},"repo_metadata":{"id":41394769,"uuid":"167553735","full_name":"meithecatte/enumflags2","owner":"meithecatte","description":"Rust library for typesystem-assisted bitflags.","archived":false,"fork":false,"pushed_at":"2026-01-17T18:11:46.000Z","size":415,"stargazers_count":136,"open_issues_count":13,"forks_count":23,"subscribers_count":4,"default_branch":"master","last_synced_at":"2026-03-01T11:08:28.136Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/meithecatte.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2019-01-25T13:42:22.000Z","updated_at":"2026-01-17T18:11:03.000Z","dependencies_parsed_at":"2024-01-27T23:31:09.448Z","dependency_job_id":"ea77c0d0-30dc-44c3-93e3-0bcfdd516e0f","html_url":"https://github.com/meithecatte/enumflags2","commit_stats":{"total_commits":296,"total_committers":20,"mean_commits":14.8,"dds":"0.45608108108108103","last_synced_commit":"8205d5ba03ccc9ccb7407693440f8e47f8ceeeb4"},"previous_names":["niedzejkob/enumflags2"],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/meithecatte/enumflags2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meithecatte%2Fenumflags2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meithecatte%2Fenumflags2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meithecatte%2Fenumflags2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meithecatte%2Fenumflags2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meithecatte","download_url":"https://codeload.github.com/meithecatte/enumflags2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meithecatte%2Fenumflags2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30663495,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-18T11:38:23.016Z","status":"ssl_error","status_checked_at":"2026-03-18T11:34:02.227Z","response_time":104,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"meithecatte","name":"Maja Kądziołka","uuid":"23580910","kind":"user","description":"Systems software toucher. Functional programming enjoyer. Alleged math nerd. Fascinated by compilers and proof assistants.","email":"github@compilercrim.es","website":"https://compilercrim.es","location":"Probably near my computer","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/23580910?u=ec0cd6d7e082811bf71d9fe7eccbdc15953c2d79\u0026v=4","repositories_count":143,"last_synced_at":"2025-12-26T04:01:10.921Z","metadata":{"has_sponsors_listing":true},"html_url":"https://github.com/meithecatte","funding_links":["https://github.com/sponsors/meithecatte"],"total_stars":1040,"followers":266,"following":13,"created_at":"2022-11-13T12:31:47.493Z","updated_at":"2025-12-26T04:01:10.922Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meithecatte","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meithecatte/repositories"},"tags":[{"name":"v0.7.12","sha":"332c37f47577e5f6b7104419da7e761963032086","kind":"commit","published_at":"2025-06-09T22:10:17.000Z","download_url":"https://codeload.github.com/meithecatte/enumflags2/tar.gz/v0.7.12","html_url":"https://github.com/meithecatte/enumflags2/releases/tag/v0.7.12","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/meithecatte/enumflags2@v0.7.12","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meithecatte%2Fenumflags2/tags/v0.7.12","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meithecatte%2Fenumflags2/tags/v0.7.12/manifests"},{"name":"v0.7.11","sha":"cc09d89bc4ef20fbf4c8016a40e160fe47b2d042","kind":"commit","published_at":"2025-01-17T05:19:07.000Z","download_url":"https://codeload.github.com/meithecatte/enumflags2/tar.gz/v0.7.11","html_url":"https://github.com/meithecatte/enumflags2/releases/tag/v0.7.11","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/meithecatte/enumflags2@v0.7.11","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meithecatte%2Fenumflags2/tags/v0.7.11","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meithecatte%2Fenumflags2/tags/v0.7.11/manifests"},{"name":"v0.7.10","sha":"8205d5ba03ccc9ccb7407693440f8e47f8ceeeb4","kind":"commit","published_at":"2024-06-07T15:31:25.000Z","download_url":"https://codeload.github.com/meithecatte/enumflags2/tar.gz/v0.7.10","html_url":"https://github.com/meithecatte/enumflags2/releases/tag/v0.7.10","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/meithecatte/enumflags2@v0.7.10","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meithecatte%2Fenumflags2/tags/v0.7.10","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meithecatte%2Fenumflags2/tags/v0.7.10/manifests"},{"name":"v0.7.9","sha":"b5621c24a7e4567df30e93aa92b5e0cc4ac66d86","kind":"commit","published_at":"2024-02-12T05:14:55.000Z","download_url":"https://codeload.github.com/meithecatte/enumflags2/tar.gz/v0.7.9","html_url":"https://github.com/meithecatte/enumflags2/releases/tag/v0.7.9","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/meithecatte/enumflags2@v0.7.9","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meithecatte%2Fenumflags2/tags/v0.7.9","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meithecatte%2Fenumflags2/tags/v0.7.9/manifests"},{"name":"v0.7.8","sha":"11f33ece553b6f1652292869f1cf415a5d0c9db8","kind":"commit","published_at":"2023-09-13T21:41:20.000Z","download_url":"https://codeload.github.com/meithecatte/enumflags2/tar.gz/v0.7.8","html_url":"https://github.com/meithecatte/enumflags2/releases/tag/v0.7.8","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/meithecatte/enumflags2@v0.7.8","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meithecatte%2Fenumflags2/tags/v0.7.8","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meithecatte%2Fenumflags2/tags/v0.7.8/manifests"},{"name":"v0.7.7","sha":"687709f621a173e3d3a05905e676923d4fa99162","kind":"commit","published_at":"2023-04-17T00:15:58.000Z","download_url":"https://codeload.github.com/meithecatte/enumflags2/tar.gz/v0.7.7","html_url":"https://github.com/meithecatte/enumflags2/releases/tag/v0.7.7","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/meithecatte/enumflags2@v0.7.7","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meithecatte%2Fenumflags2/tags/v0.7.7","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meithecatte%2Fenumflags2/tags/v0.7.7/manifests"},{"name":"v0.7.6","sha":"467fe56b2cafa4364fe4d3e40fbc6ee27d9d897c","kind":"tag","published_at":"2023-04-01T18:13:31.000Z","download_url":"https://codeload.github.com/meithecatte/enumflags2/tar.gz/v0.7.6","html_url":"https://github.com/meithecatte/enumflags2/releases/tag/v0.7.6","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/meithecatte/enumflags2@v0.7.6","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meithecatte%2Fenumflags2/tags/v0.7.6","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meithecatte%2Fenumflags2/tags/v0.7.6/manifests"},{"name":"v0.7.5","sha":"c8982573d99fd98ccd181520b55d224720b84646","kind":"tag","published_at":"2022-04-10T10:27:07.000Z","download_url":"https://codeload.github.com/meithecatte/enumflags2/tar.gz/v0.7.5","html_url":"https://github.com/meithecatte/enumflags2/releases/tag/v0.7.5","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/meithecatte/enumflags2@v0.7.5","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meithecatte%2Fenumflags2/tags/v0.7.5","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meithecatte%2Fenumflags2/tags/v0.7.5/manifests"},{"name":"v0.7.4","sha":"e1c8b64ae38c93ad42324d12a436a76e24426ee5","kind":"tag","published_at":"2022-03-24T01:59:49.000Z","download_url":"https://codeload.github.com/meithecatte/enumflags2/tar.gz/v0.7.4","html_url":"https://github.com/meithecatte/enumflags2/releases/tag/v0.7.4","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/meithecatte/enumflags2@v0.7.4","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meithecatte%2Fenumflags2/tags/v0.7.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meithecatte%2Fenumflags2/tags/v0.7.4/manifests"},{"name":"v0.7.3","sha":"624b1cf6aa609e5220490f3c158218968d78fe26","kind":"tag","published_at":"2021-12-26T20:53:52.000Z","download_url":"https://codeload.github.com/meithecatte/enumflags2/tar.gz/v0.7.3","html_url":"https://github.com/meithecatte/enumflags2/releases/tag/v0.7.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/meithecatte/enumflags2@v0.7.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meithecatte%2Fenumflags2/tags/v0.7.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meithecatte%2Fenumflags2/tags/v0.7.3/manifests"},{"name":"v0.7.2","sha":"872c5555eace965c38a8da70683666edb8d01557","kind":"tag","published_at":"2021-12-14T03:21:11.000Z","download_url":"https://codeload.github.com/meithecatte/enumflags2/tar.gz/v0.7.2","html_url":"https://github.com/meithecatte/enumflags2/releases/tag/v0.7.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/meithecatte/enumflags2@v0.7.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meithecatte%2Fenumflags2/tags/v0.7.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meithecatte%2Fenumflags2/tags/v0.7.2/manifests"},{"name":"v0.7.1","sha":"0c5b3ff86dc4f237088994a99542d486b637f0e9","kind":"commit","published_at":"2021-02-24T15:47:39.000Z","download_url":"https://codeload.github.com/meithecatte/enumflags2/tar.gz/v0.7.1","html_url":"https://github.com/meithecatte/enumflags2/releases/tag/v0.7.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/meithecatte/enumflags2@v0.7.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meithecatte%2Fenumflags2/tags/v0.7.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meithecatte%2Fenumflags2/tags/v0.7.1/manifests"},{"name":"v0.7.0","sha":"30e5ba54dd8fa92b5834b55be69c562136a2cde0","kind":"tag","published_at":"2021-02-24T15:38:50.000Z","download_url":"https://codeload.github.com/meithecatte/enumflags2/tar.gz/v0.7.0","html_url":"https://github.com/meithecatte/enumflags2/releases/tag/v0.7.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/meithecatte/enumflags2@v0.7.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meithecatte%2Fenumflags2/tags/v0.7.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meithecatte%2Fenumflags2/tags/v0.7.0/manifests"},{"name":"v0.6.4","sha":"ad69bd391a75468334ed841dd4ed773467275cc9","kind":"tag","published_at":"2020-04-21T22:36:20.000Z","download_url":"https://codeload.github.com/meithecatte/enumflags2/tar.gz/v0.6.4","html_url":"https://github.com/meithecatte/enumflags2/releases/tag/v0.6.4","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/meithecatte/enumflags2@v0.6.4","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meithecatte%2Fenumflags2/tags/v0.6.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meithecatte%2Fenumflags2/tags/v0.6.4/manifests"},{"name":"v0.6.3","sha":"facaa7a2277323e195cf157b46a5c86defaa4bbb","kind":"tag","published_at":"2020-04-11T17:02:59.000Z","download_url":"https://codeload.github.com/meithecatte/enumflags2/tar.gz/v0.6.3","html_url":"https://github.com/meithecatte/enumflags2/releases/tag/v0.6.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/meithecatte/enumflags2@v0.6.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meithecatte%2Fenumflags2/tags/v0.6.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meithecatte%2Fenumflags2/tags/v0.6.3/manifests"}]},"repo_metadata_updated_at":"2026-04-25T10:52:25.760Z","dependent_packages_count":115,"downloads":67171397,"downloads_period":"total","dependent_repos_count":4305,"rankings":{"downloads":0.5282199200265167,"dependent_repos_count":0.5521978603214455,"dependent_packages_count":0.5479664590929286,"stargazers_count":13.361354612579957,"forks_count":12.207592544271035,"docker_downloads_count":1.5853649936176366,"average":4.7971160649849205},"purl":"pkg:cargo/enumflags2","advisories":[{"uuid":"GSA_kwCzR0hTQS1xdmM0LTc4Z3ctcHY4cM4AAy8O","url":"https://github.com/advisories/GHSA-qvc4-78gw-pv8p","title":"Adverserial use of `make_bitflags!` macro can cause undefined behavior","description":"The macro relied on an expression of the form `Enum::Variant` always being a\nvariant of the enum. However, it may also be an associated integer constant, in\nwhich case there's no guarantee that the value of said constant consists only of\nbits valid for this bitflag type.\n\nThus, code like this could create an invalid `BitFlags\u003cTest\u003e`, which would cause\niterating over it to trigger undefined behavior. As the debug formatter\ninternally iterates over the value, it is also affected.\n\n```rust\nuse enumflags2::{bitflags, make_bitflags};\n\n#[bitflags]\n#[repr(u8)]\n#[derive(Copy, Clone, Debug)]\nenum Test {\n    A = 1,\n    B = 2,\n}\n\nimpl Test {\n    const C: u8 = 69;\n}\n\nfn main() {\n    let x = make_bitflags!(Test::{C});\n    // printing or iterating over x is UB\n}\n```\n","origin":"UNSPECIFIED","severity":"MODERATE","published_at":"2023-04-24T16:47:24.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":0.0,"cvss_vector":null,"references":["https://github.com/meithecatte/enumflags2/releases/tag/v0.7.7","https://rustsec.org/advisories/RUSTSEC-2023-0035.html","https://github.com/advisories/GHSA-qvc4-78gw-pv8p"],"source_kind":"github","identifiers":["GHSA-qvc4-78gw-pv8p"],"repository_url":"https://github.com/meithecatte/enumflags2","blast_radius":0.0,"created_at":"2023-04-24T17:03:29.850Z","updated_at":"2026-04-05T20:08:54.425Z","epss_percentage":null,"epss_percentile":null,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1xdmM0LTc4Z3ctcHY4cM4AAy8O","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS1xdmM0LTc4Z3ctcHY4cM4AAy8O","packages":[{"ecosystem":"cargo","package_name":"enumflags2","versions":[{"first_patched_version":"0.7.7","vulnerable_version_range":"\u003e= 0.7.0, \u003c 0.7.7"}],"purl":"pkg:cargo/enumflags2"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1xdmM0LTc4Z3ctcHY4cM4AAy8O/related_packages","related_advisories":[]}],"docker_usage_url":"https://docker.ecosyste.ms/usage/cargo/enumflags2","docker_dependents_count":63,"docker_downloads_count":23409619,"usage_url":"https://repos.ecosyste.ms/usage/cargo/enumflags2","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/cargo/enumflags2/dependencies","status":null,"funding_links":["https://github.com/sponsors/meithecatte"],"critical":true,"issue_metadata":{"last_synced_at":"2026-03-07T20:00:45.532Z","issues_count":37,"pull_requests_count":33,"avg_time_to_close_issue":4608450.111111111,"avg_time_to_close_pull_request":1424736.4193548388,"issues_closed_count":27,"pull_requests_closed_count":31,"pull_request_authors_count":18,"issue_authors_count":32,"avg_comments_per_issue":2.5945945945945947,"avg_comments_per_pull_request":2.787878787878788,"merged_pull_requests_count":20,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":3,"past_year_pull_requests_count":1,"past_year_avg_time_to_close_issue":1963.5,"past_year_avg_time_to_close_pull_request":252479.0,"past_year_issues_closed_count":2,"past_year_pull_requests_closed_count":1,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":3,"past_year_avg_comments_per_issue":1.6666666666666667,"past_year_avg_comments_per_pull_request":5.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":1,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/meithecatte%2Fenumflags2/issues","maintainers":[{"login":"meithecatte","count":6,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/meithecatte"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/enumflags2/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/enumflags2/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/enumflags2/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/enumflags2/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/enumflags2/codemeta","maintainers":[{"uuid":"38769","login":"meithecatte","name":"Maja Kądziołka","email":null,"url":"https://github.com/meithecatte","packages_count":4,"html_url":"https://crates.io/users/meithecatte","role":null,"created_at":"2022-11-07T16:30:49.479Z","updated_at":"2022-11-07T16:30:49.479Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/maintainers/meithecatte/packages"}]}