Skip to main content

create_registry_with_plugins

Function create_registry_with_plugins 

Source
pub fn create_registry_with_plugins(
    enabled_plugins: &[String],
    disable_defaults: bool,
) -> PluginRegistry
Expand description

Creates a plugin registry with the specified plugins enabled.

§Arguments

  • enabled_plugins - List of plugin names/aliases to enable
  • disable_defaults - If true, default plugins are not automatically enabled

§Returns

A new PluginRegistry with only the specified plugins registered.