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

#296 in Configuration

Download history 258/week @ 2024-09-01 21/week @ 2024-09-08 12/week @ 2024-09-15 267/week @ 2024-09-22 37/week @ 2024-09-29 252/week @ 2024-10-06 44/week @ 2024-10-13 2/week @ 2024-10-20 9/week @ 2024-11-03

68 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