include_tt 1.1.1

Macros for ultra-flexible injection of token trees, literals, or binary data into Rust code from external files during compilation.
Documentation
use include_tt::inject;

#[test]
fn test_empty_tt() {
    let str = inject! {
        #tt("./tests/empty.tt")
        /*
            The use of this keyword leaves the search for occurrences
            needed for replacement.
        */
        #break;

        stringify!(#include!("./tests/empty.tt"))
    };

    assert_eq!(str, "#include!(\"./tests/empty.tt\")");
    assert_eq!(
        stringify!(#include!("./tests/empty.tt")),
        "#include!(\"./tests/empty.tt\")"
    );
}