better_embedded

Crates.iobetter_embedded
lib.rsbetter_embedded
version0.4.0
sourcesrc
created_at2024-09-05 02:49:11.949359
updated_at2024-10-06 18:38:11.410914
descriptionEmbed files and release them at runtime
homepage
repositoryhttps://github.com/xuxiaocheng0201/better_embedded
max_upload_size
id1364111
size24,559
(xuxiaocheng0201)

documentation

https://docs.rs/better_embedded/

README

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.

Commit count: 18

cargo fmt