Skip to main content

export_provider

Macro export_provider 

Source
macro_rules! export_provider {
    ($id:expr, $base:expr, $api:expr, $manifest:expr, $factory:path) => { ... };
}
Expand description

Export a provider package using an ordinary Rust Provider factory.

Requires the provider feature. For a multi-provider package, use one crate::export_plugin! entrypoint and call register for each provider instead of exporting this macro multiple times.