includer

Crates.ioincluder
lib.rsincluder
version0.2.0
sourcesrc
created_at2018-09-14 16:53:53.710798
updated_at2018-09-18 21:43:15.482327
descriptionUse dynamically included assets generated by includer_codegen.
homepagehttps://github.com/chippers/includer/tree/master/includer
repositoryhttps://github.com/chippers/includer
max_upload_size
id84727
size4,027
chip (chippers)

documentation

https://docs.rs/includer

README

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"));

License

Licensed under either of

at your option.

Contribution

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.

Commit count: 19

cargo fmt