 c33bacd5fd
			
		
	
	
		c33bacd5fd
		
			
		
	
	
	
	
		
			
			# Objective Bevy_hierarchy is very useful for ECS only usages of bevy_ecs, but it currently pulls in bevy_reflect, bevy_app and bevy_core with no way to opt out. ## Solution This PR provides features `bevy_app` and `reflect` that are enabled by default. If disabled, they should remove these dependencies from bevy_hierarchy. --- ## Changelog Added features `bevy_app` and `reflect` to bevy_hierarchy.
		
			
				
	
	
		
			33 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			TOML
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			TOML
		
	
	
	
	
	
| [package]
 | |
| name = "bevy_hierarchy"
 | |
| version = "0.12.0"
 | |
| edition = "2021"
 | |
| description = "Provides hierarchy functionality for Bevy Engine"
 | |
| homepage = "https://bevyengine.org"
 | |
| repository = "https://github.com/bevyengine/bevy"
 | |
| license = "MIT OR Apache-2.0"
 | |
| keywords = ["bevy"]
 | |
| 
 | |
| [features]
 | |
| default = ["bevy_app"]
 | |
| trace = []
 | |
| bevy_app = ["reflect", "dep:bevy_app", "bevy_core", "bevy_log"]
 | |
| reflect = ["bevy_ecs/bevy_reflect", "bevy_reflect"]
 | |
| 
 | |
| [dependencies]
 | |
| # bevy
 | |
| bevy_app = { path = "../bevy_app", version = "0.12.0", optional = true }
 | |
| bevy_core = { path = "../bevy_core", version = "0.12.0", optional = true }
 | |
| bevy_ecs = { path = "../bevy_ecs", version = "0.12.0", default-features = false }
 | |
| bevy_log = { path = "../bevy_log", version = "0.12.0", optional = true }
 | |
| bevy_reflect = { path = "../bevy_reflect", version = "0.12.0", features = [
 | |
|   "bevy",
 | |
| ], optional = true }
 | |
| bevy_utils = { path = "../bevy_utils", version = "0.12.0" }
 | |
| 
 | |
| # other
 | |
| smallvec = { version = "1.6", features = ["serde", "union", "const_generics"] }
 | |
| 
 | |
| [lints]
 | |
| workspace = true
 |