
This is a rather simple but wide change, and it involves adding a new `bevy_app_macros` crate. Let me know if there is a better way to do any of this! --- # Objective - Allow adding and accessing sub-apps by using a label instead of an index ## Solution - Migrate the bevy label implementation and derive code to the `bevy_utils` and `bevy_macro_utils` crates and then add a new `SubAppLabel` trait to the `bevy_app` crate that is used when adding or getting a sub-app from an app.
17 lines
294 B
TOML
17 lines
294 B
TOML
[package]
|
|
name = "bevy_ecs_macros"
|
|
version = "0.5.0"
|
|
description = "Bevy ECS Macros"
|
|
edition = "2018"
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[lib]
|
|
proc-macro = true
|
|
|
|
[dependencies]
|
|
bevy_macro_utils = { path = "../../bevy_macro_utils", version = "0.5.0" }
|
|
|
|
syn = "1.0"
|
|
quote = "1.0"
|
|
proc-macro2 = "1.0"
|