Expand description
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!();
hello_world(); // This was included from $OUT_DIR/lib.rs
Macros
- See crate’s documentation