feate: separate on crates
This commit is contained in:
+1
-32
@@ -1,35 +1,4 @@
|
||||
[package]
|
||||
name = "bevy_controls"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[features]
|
||||
default = []
|
||||
serialize = ["bevy_input/serialize", "serde"]
|
||||
reflect = ["dep:bevy_reflect"]
|
||||
inspector-egui = ["reflect", "dep:bevy-inspector-egui"]
|
||||
|
||||
[dependencies]
|
||||
bevy-inspector-egui = { version = "0.22.1", optional = true }
|
||||
bevy_app = "0.12.1"
|
||||
bevy_derive = "0.12.1"
|
||||
bevy_ecs = "0.12.1"
|
||||
bevy_input = "0.12.1"
|
||||
bevy_reflect = { version = "0.12.1", optional = true }
|
||||
bevy_utils = "0.12.1"
|
||||
log = "0.4.20"
|
||||
serde = { version = "1.0.194", optional = true }
|
||||
strum = "0.25.0"
|
||||
strum_macros = "0.25.3"
|
||||
|
||||
[dev-dependencies]
|
||||
env_logger = "0.10.1"
|
||||
|
||||
[workspace]
|
||||
resolver = "2"
|
||||
members = ["crate/*"]
|
||||
exclude = ["example/"]
|
||||
|
||||
[[example]]
|
||||
name = "basic"
|
||||
path = "example/basic/src/main.rs"
|
||||
doc-scrape-examples = true
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
[package]
|
||||
name = "bevy_controls"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[features]
|
||||
default = []
|
||||
serialize = ["bevy_input/serialize", "serde"]
|
||||
reflect = ["dep:bevy_reflect"]
|
||||
inspector-egui = ["reflect", "dep:bevy-inspector-egui"]
|
||||
|
||||
[dependencies]
|
||||
bevy-inspector-egui = { version = "0.22.1", optional = true }
|
||||
bevy_app = "0.12.1"
|
||||
bevy_derive = "0.12.1"
|
||||
bevy_ecs = "0.12.1"
|
||||
bevy_input = "0.12.1"
|
||||
bevy_reflect = { version = "0.12.1", optional = true }
|
||||
bevy_utils = "0.12.1"
|
||||
log = "0.4.20"
|
||||
serde = { version = "1.0.194", optional = true }
|
||||
strum = "0.25.0"
|
||||
strum_macros = "0.25.3"
|
||||
|
||||
[dev-dependencies]
|
||||
env_logger = "0.10.1"
|
||||
|
||||
[[example]]
|
||||
name = "basic"
|
||||
path = "example/basic/src/main.rs"
|
||||
doc-scrape-examples = true
|
||||
Reference in New Issue
Block a user