5 releases (3 breaking)
0.4.0 | Oct 6, 2024 |
---|---|
0.3.1 | Oct 6, 2024 |
0.3.0 |
|
0.2.0 | Sep 25, 2024 |
0.1.1 | Sep 5, 2024 |
#343 in Configuration
61 downloads per month
Used in libsimple
12KB
164 lines
Better embedded
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
~44–255KB