Crates.io | includer |
lib.rs | includer |
version | 0.2.0 |
source | src |
created_at | 2018-09-14 16:53:53.710798 |
updated_at | 2018-09-18 21:43:15.482327 |
description | Use dynamically included assets generated by includer_codegen. |
homepage | https://github.com/chippers/includer/tree/master/includer |
repository | https://github.com/chippers/includer |
max_upload_size | |
id | 84727 |
size | 4,027 |
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.