Skip to main content

default_host_plugin_registry

Function default_host_plugin_registry 

Source
pub fn default_host_plugin_registry() -> Arc<PluginRegistry> 
Expand description

Construct a fresh uni_plugin::PluginRegistry pre-loaded with every host-coupled built-in procedure (uni.schema., uni.algo.).

Useful for low-level test setups that bypass Uni::build and would otherwise see “Procedure not supported” errors for uni.algo.* / uni.schema.* calls now that those match arms in procedure_call.rs have been deleted in favor of plugin-path dispatch.

Panics on registration failure (only possible on duplicate qname, which the static built-in set never produces).