# disco-assets
This crate was generated by `rlvgl-creator`.
## Embed
Enable the `embed` feature and reference asset constants directly:
```rust
use disco-assets::embed::SOME_ASSET;
```
## Vendor
Enable the `vendor` feature to have the included `build.rs` copy asset files
and generate an `rlvgl_assets.rs` module at compile time. In your crate,
include the generated module:
```rust
include!(concat!(env!("OUT_DIR"), "/rlvgl_assets.rs"));
```
For custom pipelines, you may call the helpers from your own `build.rs`:
```rust
fn main() {
let out = std::path::Path::new(&std::env::var("OUT_DIR").unwrap());
disco-assets::vendor::copy_all(out).unwrap();
disco-assets::vendor::generate_rust_module(out).unwrap();
}
```