# Better embedded
[](https://crates.io/crates/better_embedded)
[](https://github.com/xuxiaocheng0201/better_embedded/commits/master)
[](https://github.com/xuxiaocheng0201/better_embedded/issues)
[](https://github.com/xuxiaocheng0201/better_embedded/pulls)
[](https://github.com/xuxiaocheng0201/better_embedded/blob/master/LICENSE)
# Description
Enables you to embed file and release it at runtime.
# Usage
Add this to your `Cargo.toml`:
```toml
[dependencies]
better_embedded = "~0.4"
```
# Example
```rust,no_run
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](LICENSE-APACHE) or https://www.apache.org/licenses/LICENSE-2.0)
MIT license ([LICENSE-MIT](LICENSE-MIT) or https://opensource.org/licenses/MIT)
at your option.