Macro uniffi_macros::include_scaffolding
source · include_scaffolding!() { /* proc-macro */ }
Expand description
A helper macro to include generated component scaffolding.
This is a simple convenience macro to include the UniFFI component
scaffolding as built by uniffi_build::generate_scaffolding
.
Use it like so:
uniffi_macros::include_scaffolding!("my_component_name");
This will expand to the appropriate include!
invocation to include
the generated my_component_name.uniffi.rs
(which it assumes has
been successfully built by your crate’s build.rs
script).