#assets #bevy #gamedev #macro-derive

macro bevy_asset_loader_derive

Macro implementation for bevy_asset_loader

29 releases (breaking)

new 0.22.0 Dec 1, 2024
0.22.0-rc.1 Nov 24, 2024
0.21.0 Jul 6, 2024
0.20.0 Feb 18, 2024
0.4.0 Jun 26, 2021

#73 in #asset

Download history 3148/week @ 2024-08-11 2333/week @ 2024-08-18 2373/week @ 2024-08-25 2592/week @ 2024-09-01 2588/week @ 2024-09-08 2239/week @ 2024-09-15 2754/week @ 2024-09-22 2523/week @ 2024-09-29 1302/week @ 2024-10-06 2094/week @ 2024-10-13 2020/week @ 2024-10-20 2308/week @ 2024-10-27 2250/week @ 2024-11-03 1142/week @ 2024-11-10 1514/week @ 2024-11-17 2316/week @ 2024-11-24

7,547 downloads per month
Used in 22 crates (via bevy_asset_loader)

MIT/Apache

85KB
1.5K SLoC

bevy_asset_loader_derive

This crate offers the derive macro for bevy_asset_loader's AssetCollection trait. You most likely don't want to use this crate directly. Please look at the README and examples of bevy_asset_loader for instructions on how to use the derive macro.

License

Dual-licensed under either of

at your option.


lib.rs:

This crate adds support for deriving AssetCollection

You do not have to use it directly. Just import AssetCollection from bevy_asset_loader and use #[derive(AssetCollection)] to derive the trait.

Dependencies

~220–660KB
~16K SLoC