25 releases

Uses new Rust 2024

new 0.13.0-rc.1 Apr 3, 2025
0.12.0 Nov 30, 2024
0.11.0 Jul 4, 2024
0.10.2 Mar 17, 2024
0.2.1 Jan 16, 2022

#270 in Game dev

Download history 1512/week @ 2024-12-11 1160/week @ 2024-12-18 701/week @ 2024-12-25 1041/week @ 2025-01-01 1185/week @ 2025-01-08 1408/week @ 2025-01-15 1414/week @ 2025-01-22 1610/week @ 2025-01-29 1801/week @ 2025-02-05 1789/week @ 2025-02-12 1277/week @ 2025-02-19 1622/week @ 2025-02-26 1486/week @ 2025-03-05 2098/week @ 2025-03-12 1656/week @ 2025-03-19 2022/week @ 2025-03-26

7,567 downloads per month
Used in 6 crates

MIT/Apache

30KB
554 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.15 0.12
0.14 0.11
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

~14–28MB
~434K SLoC