5 releases (3 breaking)

0.4.0 Oct 6, 2024
0.3.1 Oct 6, 2024
0.3.0 Sep 25, 2024
0.2.0 Sep 25, 2024
0.1.1 Sep 5, 2024

#263 in Configuration

Download history 271/week @ 2024-09-03 10/week @ 2024-09-10 10/week @ 2024-09-17 283/week @ 2024-09-24 207/week @ 2024-10-01 77/week @ 2024-10-08

579 downloads per month
Used in libsimple

MIT/Apache

12KB
164 lines

Better embedded

Crate GitHub last commit GitHub issues GitHub pull requests GitHub

Description

Enables you to embed file and release it at runtime.

Usage

Add this to your Cargo.toml:

[dependencies]
better_embedded = "~0.4"

Example

fn initialize() -> std::io::Result<()> {
    better_embedded::release_file(include_bytes!("../README.md"), "Readme.md");
    Ok(())
}

License

This project is licensed under either of

Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0) MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)

at your option.

Dependencies

~215KB