{"id":17501926,"url":"https://github.com/itsdoot/bevy_mod_check_filter","last_synced_at":"2025-10-03T21:23:49.639Z","repository":{"id":56756750,"uuid":"523477540","full_name":"ItsDoot/bevy_mod_check_filter","owner":"ItsDoot","description":"Better marker component ergonomics with the Bevy Engine","archived":false,"fork":false,"pushed_at":"2022-08-15T08:50:47.000Z","size":18,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-03-28T08:23:13.925Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://crates.io/crates/bevy_mod_check_filter","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/ItsDoot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-08-10T19:49:12.000Z","updated_at":"2025-03-22T21:18:34.000Z","dependencies_parsed_at":"2022-08-16T01:50:30.821Z","dependency_job_id":null,"html_url":"https://github.com/ItsDoot/bevy_mod_check_filter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ItsDoot%2Fbevy_mod_check_filter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ItsDoot%2Fbevy_mod_check_filter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ItsDoot%2Fbevy_mod_check_filter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ItsDoot%2Fbevy_mod_check_filter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ItsDoot","download_url":"https://codeload.github.com/ItsDoot/bevy_mod_check_filter/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250365176,"owners_count":21418640,"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":"2024-10-19T20:33:12.798Z","updated_at":"2025-10-03T21:23:49.520Z","avatar_url":"https://github.com/ItsDoot.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bevy_mod_check_filter\n\nA query filter to allow `Enabled`-style marker components without losing the\nergonomics of `ZST`-style marker component filtering!\n\n## Example\n\nWithout `bevy_mod_check_filter`:\n\n```rust\n#[derive(Component)]\nstruct Poisoned;\n\n#[derive(Component)]\nstruct Name { name: \u0026'static str }\n\nfn all_poisoned(entities: Query\u003c\u0026Name, With\u003cPoisoned\u003e\u003e) {\n    // ...\n}\n```\n\nWith `bevy_mod_check_filter`:\n\n```rust\n#[derive(Component)]\nstruct Poisoned(pub bool);\n\nimpl std::ops::Deref for Poisoned {\n    type Target = bool;\n \n    fn deref(\u0026self) -\u003e \u0026Self::Target {\n        \u0026self.0\n    }\n}\n\n#[derive(Component)]\nstruct Name { name: \u0026'static str }\n\nfn all_poisoned(entities: Query\u003c\u0026Name, Check\u003cPoisoned, Is\u003ctrue\u003e\u003e\u003e) {\n    // ...\n}\n\n// OR with one of the provided type aliases:\nfn find_poisoned(entities: Query\u003c\u0026Name, IsTrue\u003cPoisoned\u003e\u003e) {\n    // ...\n}\n```\n\n## License\n\nAll code in this repository is dual-licensed under either:\n\n- MIT License (LICENSE-MIT file or http://opensource.org/licenses/MIT)\n- Apache License, Version 2.0 (LICENSE-APACHE file or\n  http://www.apache.org/licenses/LICENSE-2.0)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsdoot%2Fbevy_mod_check_filter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitsdoot%2Fbevy_mod_check_filter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsdoot%2Fbevy_mod_check_filter/lists"}