#assets #bevy #gamedev #macro-derive

macro bevy_asset_loader_derive

Macro implementation for bevy_asset_loader

29 releases (breaking)

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

#72 in #asset

Download history 2262/week @ 2024-08-22 2369/week @ 2024-08-29 2600/week @ 2024-09-05 2621/week @ 2024-09-12 2326/week @ 2024-09-19 2608/week @ 2024-09-26 1947/week @ 2024-10-03 1661/week @ 2024-10-10 2022/week @ 2024-10-17 2335/week @ 2024-10-24 2248/week @ 2024-10-31 1283/week @ 2024-11-07 1522/week @ 2024-11-14 2244/week @ 2024-11-21 2551/week @ 2024-11-28 1767/week @ 2024-12-05

8,155 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