Skip to content

flight-rs/bag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bag   Build Status License

Bag is badass declarative asset loader and bundler for Rust.

bag!{static LOGO: TryBag<RgbaImage> = "image/logo.png"};
bag!{static LICENCE: TryBag<str> = "LICENSE"};
[alias]
"image/**" = "public/img/**"

[runtime.alias]
"image/**" = "assets/**"

[target."cfg(wasm)"]
static = true

[asset."LICENSE"]
static = true

[format."image::RgbaImage"]
loader = "bag_image::LoadImageBuffer"

None of the above actually works yet, but I can dream.

About

Awesome asset loading for Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published