{"id":24066408,"url":"https://github.com/coolcatcoder/bevy_registration","last_synced_at":"2025-02-26T19:24:53.042Z","repository":{"id":271166702,"uuid":"912581072","full_name":"coolcatcoder/bevy_registration","owner":"coolcatcoder","description":"Run code on the app from far away.","archived":false,"fork":false,"pushed_at":"2025-01-29T23:08:48.000Z","size":86,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-30T00:18:38.273Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://crates.io/crates/bevy_registration","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/coolcatcoder.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-06T00:44:52.000Z","updated_at":"2025-01-29T23:08:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"e4801558-5cf7-42e1-8d9e-56a0d9023fb4","html_url":"https://github.com/coolcatcoder/bevy_registration","commit_stats":null,"previous_names":["coolcatcoder/bevy_registration"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coolcatcoder%2Fbevy_registration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coolcatcoder%2Fbevy_registration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coolcatcoder%2Fbevy_registration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coolcatcoder%2Fbevy_registration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coolcatcoder","download_url":"https://codeload.github.com/coolcatcoder/bevy_registration/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240919310,"owners_count":19878575,"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-01-09T11:41:25.600Z","updated_at":"2025-02-26T19:24:53.034Z","avatar_url":"https://github.com/coolcatcoder.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bevy Registration\nAnnotate systems, resources, and events with macros and automatically add them to your app.\nThis uses [Inventory](https://crates.io/crates/inventory) internally, so it should work on Linux, macOS, iOS, FreeBSD, Android, Windows, and WebAssembly.\n## Bevy Versions\n| registration version | bevy version |\n| -------------------- | ------------ |\n| 0.1.0 - 0.2.4        | 0.15         |\n## Example:\n```rs\nuse bevy::prelude::*;\nuse bevy_registration::prelude::*;\n\n// Initiates the resource on the app.\n#[init]\n#[derive(Resource, Default)]\npub struct TestResource;\n\n// Adds the system to the Update schedule.\n#[system(Update)]\nfn resource_tester(resource: Option\u003cRes\u003cTestResource\u003e\u003e) {\n    // This will not panic.\n    resource.unwrap();\n}\n\nfn main() {\n    App::new()\n        // Add bevy's default plugins, to start up the update loop.\n        .add_plugins(DefaultPlugins)\n        // Add the registration plugin that will collect the far-away app code.\n        .add_plugins(RegistrationPlugin)\n        .run();\n}\n```\n## License\n\nLicensed under either of\n\n * Apache License, Version 2.0\n   ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)\n * MIT license\n   ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n\nat your option.\n\n## Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall be\ndual licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoolcatcoder%2Fbevy_registration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoolcatcoder%2Fbevy_registration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoolcatcoder%2Fbevy_registration/lists"}