NiklasEi / bevy_asset_loader

Bevy plugin helping with asset loading and organization
Apache License 2.0
474 stars 52 forks source link

Version 0.11.0 on Crates.io provides a lib.rs without a prelude section. #61

Closed Laocoon7 closed 2 years ago

Laocoon7 commented 2 years ago

I would expect crates.io to link to a version of bevy_asset_loader which includes the prelude. such as https://github.com/NiklasEi/bevy_asset_loader/blob/main/bevy_asset_loader/src/lib.rs

It is currently pointing to a version which looks like https://github.com/NiklasEi/bevy_asset_loader/blob/bevy_main/bevy_asset_loader/src/lib.rs

This breaks the examples when Cargo.toml includes bevy_asset_loader = "0.11.0" instead of pointing to the github repo.

NiklasEi commented 2 years ago

The latest release does not have a prelude. This is a new change on the main branch.

If you are using version 0.11.0, you can browse the examples on the corresponding tag.