Skip to main content

register_provider

Function register_provider 

Source
pub fn register_provider(name: &str, provider: impl Provider + 'static)
Expand description
Stable since 0.63.0
Register a custom provider at runtime (global registry).

This is called from oxicode-cli during startup for each [[custom_provider]] entry found in settings.