#assets #include #compile-time #stable #directories #now


Use dynamically included assets generated by includer_codegen

3 unstable releases

0.2.0 Sep 18, 2018
0.1.1 Sep 17, 2018
0.1.0 Sep 14, 2018

#79 in Build Utils

Download history 6/week @ 2019-11-27 6/week @ 2019-12-04 102/week @ 2019-12-11 3/week @ 2019-12-25 50/week @ 2020-01-08 6/week @ 2020-01-15 1/week @ 2020-01-29 4/week @ 2020-02-12 7/week @ 2020-02-19 12/week @ 2020-02-26 6/week @ 2020-03-04 3/week @ 2020-03-11

59 downloads per month

Apache-2.0 OR MIT


includer Build Status Documentation

The includer crate is the library to be used by other libraries/binaries. This can be considered the "frontend" counterpart to the build time crate that helps you generate code, includer_codegen. For now it's mostly a simple type wrapper to get the generated code that's included to compile correctly and safely.

You would not typically use the types from this library in your codebase, but rather only include them for the generated code to use.

extern crate includer;

use includer::Asset;

// The default file that includer_codegen generates
include!(concat!(env!("OUT_DIR"), "/assets.rs"));


Licensed under either of

at your option.


Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.