include_tt 1.1.0

Macros for ultra-flexible injection of compiler trees, literals, or binary data into Rust syntax trees from external sources.
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\")"
	);
}