macro_rules! include_scripts { ($(#[$attribute:meta])* $visibility:vis mod $name:ident $(;)?) => { ... }; }
Include taba-build output as the named module.
taba-build
taba::include_scripts!(mod scripts); let js = scripts::core(&input)?;
Attributes and documentation work fine:
taba::include_scripts!( /// Some explicit documentation we want to add to the binding's root. #[forbid(unsafe_code)] mod scripts; );