bevy/crates/bevy_asset/src
bjorn3 6a4051be3a Make some asset loading functions monomorphic (#1861)
This reduces the size of executables when using bevy as dylib by
ensuring that they get codegened in bevy_assets instead of the game
itself. This by extension avoids pulling in parts of bevy_tasks and
async_task.

Before this change the breakout example was 923k big after this change
it is only 775k big for cg_clif. For cg_llvm in release mode breakout
shrinks from 356k to 316k. For cg_llvm in debug mode breakout shrinks
from 3814k to 3057k.
2021-04-10 16:17:32 +00:00
..
diagnostic Bevy ECS V2 (#1525) 2021-03-05 07:54:35 +00:00
io Make some asset loading functions monomorphic (#1861) 2021-04-10 16:17:32 +00:00
asset_server.rs Make some asset loading functions monomorphic (#1861) 2021-04-10 16:17:32 +00:00
assets.rs Small improvement of code quality of Assets::set* methods (#1649) 2021-03-14 00:19:44 +00:00
filesystem_watcher.rs format comments (#1612) 2021-03-11 00:27:30 +00:00
handle.rs format comments (#1612) 2021-03-11 00:27:30 +00:00
info.rs Bevy Reflection (#926) 2020-11-27 16:39:59 -08:00
lib.rs format comments (#1612) 2021-03-11 00:27:30 +00:00
loader.rs fix clippy lints (#1756) 2021-03-25 20:48:18 +00:00
path.rs Fix errors and panics to typical Rust conventions (#968) 2020-12-02 11:31:16 -08:00