grouse
A simple asset bundler for Rust.
about
grouse is a very simple asset bundler intended for baking static
files directly into your Rust binaries. In short, grouse will generate a
unit struct that implements an fn to retreive all of the files within a
particular [Manifest], and one to lookup a file by it's sha256 digest.
getting started
To start using grouse, you'll first need to add our package to your
Cargo.toml manifest:
Then you can bundle a directory into your Rust executable.
// Thanks to recently stablized proc-macro features, the include
// path is relative to the current file directory, like how the
// builtin [`core::include_bytes!`] macro works.
;