StarArawn / kayak_ui

Other
469 stars 50 forks source link

Update to bevy 0.10 #218

Closed NiseVoid closed 1 year ago

NiseVoid commented 1 year ago

This PR updates kayak_ui to bevy 0.10. Note that this doesn't fully utilize any of 0.10 properly yet. I also fixed some issues where the Cargo.toml didn't enable features kayak_ui depends on errors about duplicate license info. Event was renamed to KEvent to fix a name conflict with bevy::prelude::*

I tested all examples and tested it in my own game, sadly cargo won't let me run cargo test without crashing my system, so I'm not sure about the doc examples.

StarArawn commented 1 year ago

@NiseVoid This doesn't seem to correctly compile. It looks like bytemuck Pod and Zeroable changed?

NiseVoid commented 1 year ago

Hmmm, that's interesting I didn't change anything about it afaict. Adding the derive feature seems to have fixed it. Might've been related to a rust update fixing some issue with incorrectly using the biggest possible feature list