[][src]Crate codegen_includer_proc_macro

This crate offers a workaround for issue. The gist of it is that include! proc macro will include the content of lib.rs file stored inside OUT_DIR, presumably generated by cargo's build script.

Example

::codegen_includer_proc_macro::include!();
fn main() {
    helloWorld(); // This was included from $OUT_DIR/lib.rs
}

Macros

include

See crate's documentation