Closed
Description
Bevy version
main, since #17955
What you did
Attempted to migrate a crate dealing with input and using default-features = false
to Bevy 0.16-dev
What went wrong
error[E0433]: failed to resolve: could not find `input` in `bevy`
--> src/lib.rs:28:5
|
28 | input::keyboard::{Key, KeyboardInput},
| ^^^^^ could not find `input` in `bevy`
And there doesn't appear to be any way of rectifying this. It seems that we need a new bevy_input
feature, but it's also possible that bevy_input
becoming optional was a mistake. I haven't been following the no_std
effort closely, so I'm not sure.
A bad workaround is to add the std
feature, which includes bevy_input
. (This may be a separate bug. Seems like with bevy_input
optional, bevy_internal/std
should be using bevy_input?/std
).