18 unstable releases (8 breaking)

0.10.2 Mar 17, 2024
0.10.0 Feb 18, 2024
0.9.1 Nov 13, 2023
0.8.0 Jul 9, 2023
0.2.1 Jan 16, 2022

#676 in Game dev

Download history 384/week @ 2023-12-23 300/week @ 2023-12-30 816/week @ 2024-01-06 852/week @ 2024-01-13 627/week @ 2024-01-20 687/week @ 2024-01-27 549/week @ 2024-02-03 473/week @ 2024-02-10 1044/week @ 2024-02-17 811/week @ 2024-02-24 935/week @ 2024-03-02 1345/week @ 2024-03-09 1190/week @ 2024-03-16 835/week @ 2024-03-23 960/week @ 2024-03-30 528/week @ 2024-04-06

3,646 downloads per month
Used in 4 crates

MIT/Apache

27KB
516 lines

Bevy Embedded Assets

MIT/Apache 2.0 Realease Doc Crate Bevy Tracking CI

Embed your asset folder inside your binary for easier releases.

use bevy::prelude::*;
use bevy_embedded_assets::EmbeddedAssetPlugin;

fn main() {
    App::new().add_plugins((EmbeddedAssetPlugin::default(), DefaultPlugins));
}

EmbeddedAssetPlugin has three modes:

  • PluginMode::AutoLoad will embed the asset folder and make it available through the embedded:// source
  • PluginMode::ReplaceDefault will embed the asset folder and make it available through the default source
  • PluginMode::ReplaceAndFallback will embed the asset folder and make it available through the default source. If a fail is not found at runtime, it fallback to the default source for the current platform

Bevy Compatibility

Bevy bevy_embedded_assets
main main
0.13 0.10
0.12 0.9
0.11 0.8
0.10 0.7
0.9 0.6
0.8 0.4
0.7 0.3
0.6 0.2
0.5 0.1

Dependencies

~19–59MB
~1M SLoC