Embed static files into Rust binaries during release builds.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
michael b7eca6f4e5
Merge pull request #12 from remexre/master
2 weeks ago
packer_derive Adds always_pack feature. 3 weeks ago
src imagine not being dumb 1 month ago
static Add option to ignore 1 month ago
tests Add option to ignore 1 month ago
.gitignore initial 8 months ago
.travis.yml im an idiot 3 months ago
Cargo.toml Adds always_pack feature. 3 weeks ago
LICENSE license' 3 months ago
README.md Update README.md 1 month ago

README.md

Packer

dependency status

NOTE This project is based on the original rust-embed. I made enough modifications to it that I decided to just publish it in a separate repository.

NOTE This project requires a Rust 2018 (Rust 1.31+) compiler.

packer is a library that helps you pack static files into binaries using macro magic. When you build in dev mode, it will fetch off your filesystem as usual, but when you build with --release, it will pack the assets into your binary!

Documentation

Contact

Author: Michael Zhang, Nathan Ringo

License: MIT