[][src]Macro azure_functions_codegen::export

export!() { /* proc-macro */ }

Implements the export! macro.

The export! macro is used to export a list of modules as Azure Functions.

This macro expects a comma-separated list of module names that implement a function of the same name with the #[func] attribute applied.

A FUNCTIONS constant is declared by the macro.

Examples

This example is not tested
azure_functions::export! {
    example
}

fn main() {
    azure_functions::worker_main(::std::env::args(), FUNCTIONS);
}