mirror of
https://github.com/bevyengine/bevy
synced 2024-12-22 11:03:06 +00:00
cd8dccb8b2
# Objective Rust analyzer kept complaining about a cyclic dependency due to `bevy_input` having a dev-dependency on `bevy`. `bevy_input` was also missing `bevy_reflect`'s "smol_str" feature which it needs to compile on its own. Fixes #10256 ## Solution Remove the dev-dependency on `bevy` from `bevy_input` since it was only used to reduce imports for 1 test and 3 doc examples by 1 line each, as `bevy_input` already has dependencies on everything needed for those tests and doctests to work. Add `bevy_reflect`'s "smol_str" feature to `bevy_input`'s dependency list as it needs it to actually compile.
32 lines
803 B
TOML
32 lines
803 B
TOML
[package]
|
|
name = "bevy_input"
|
|
version = "0.12.0"
|
|
edition = "2021"
|
|
description = "Provides input functionality for Bevy Engine"
|
|
homepage = "https://bevyengine.org"
|
|
repository = "https://github.com/bevyengine/bevy"
|
|
license = "MIT OR Apache-2.0"
|
|
keywords = ["bevy"]
|
|
|
|
[features]
|
|
default = []
|
|
serialize = ["serde"]
|
|
|
|
[dependencies]
|
|
# bevy
|
|
bevy_app = { path = "../bevy_app", version = "0.12.0" }
|
|
bevy_ecs = { path = "../bevy_ecs", version = "0.12.0" }
|
|
bevy_math = { path = "../bevy_math", version = "0.12.0" }
|
|
bevy_utils = { path = "../bevy_utils", version = "0.12.0" }
|
|
bevy_reflect = { path = "../bevy_reflect", version = "0.12.0", features = [
|
|
"glam",
|
|
"smol_str",
|
|
] }
|
|
|
|
# other
|
|
serde = { version = "1", features = ["derive"], optional = true }
|
|
thiserror = "1.0"
|
|
smol_str = "0.2"
|
|
|
|
[lints]
|
|
workspace = true
|