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 months ago
packer_derive Adds always_pack feature. 2 months ago
src imagine not being dumb 3 months ago
static Add option to ignore 3 months ago
tests Add option to ignore 3 months ago
.gitignore initial 10 months ago
.travis.yml im an idiot 5 months ago
Cargo.toml Adds always_pack feature. 2 months ago
LICENSE license' 5 months ago
README.md Update README.md 3 months 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