Nilirad / bevy_prototype_lyon

Draw 2D shapes in Bevy
Apache License 2.0
702 stars 87 forks source link

Reduce Bevy dependencies #148

Closed Shatur closed 2 years ago

Shatur commented 2 years ago

Previously used render feature is a group that contains unneeded stuff, like bevy_ui or bevy_text. Specified features in this PR is the required minimum. You can read more about in in this issue: https://github.com/bevyengine/bevy/issues/4202

For dev-dependencies I left only x11 feature. In Bevy this feature is enabled by default and it have no effect on platforms other then Linux (either wayland or x11 is required to work on Linux). I tested changes on Windows and Linux.

Nilirad commented 2 years ago

Nice catch, thank you!