bevy/crates/bevy_input/src
Elabajaba cd8dccb8b2
Fix cyclic dep (#11523)
# 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.
2024-01-25 17:44:32 +00:00
..
axis.rs Improve doc formatting. (#9840) 2023-09-18 19:43:56 +00:00
button_input.rs Add method to check if all inputs are pressed (#11010) 2023-12-18 01:45:43 +00:00
common_conditions.rs Fix cyclic dep (#11523) 2024-01-25 17:44:32 +00:00
gamepad.rs Rename Input to ButtonInput (#10859) 2023-12-06 20:32:34 +00:00
keyboard.rs Add logical key data to KeyboardInput (#11400) 2024-01-22 15:25:17 +00:00
lib.rs Add logical key data to KeyboardInput (#11400) 2024-01-22 15:25:17 +00:00
mouse.rs Update winit dependency to 0.29 (#10702) 2023-12-21 07:40:47 +00:00
touch.rs Extend Touches with clear and reset methods (#10930) 2024-01-04 23:13:29 +00:00
touchpad.rs Bevy Input Docs : the modules (#9467) 2023-08-23 12:44:49 +00:00