bevy_embedded_assets

Crates.iobevy_embedded_assets
lib.rsbevy_embedded_assets
version0.15.0
created_at2022-01-03 18:39:03.444492+00
updated_at2026-01-23 12:20:44.688207+00
descriptionA Bevy plugin to embed assets in your game
homepagehttps://github.com/vleue/bevy_embedded_assets
repositoryhttps://github.com/vleue/bevy_embedded_assets
max_upload_size
id507251
size90,893
publish (github:vleue:publish)

documentation

https://docs.rs/bevy_embedded_assets

README

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.18 0.15
0.17 0.14
0.16 0.13
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
Commit count: 99

cargo fmt