Function hugr_core::extension::declarative::load_extensions
source ยท pub fn load_extensions(
yaml: &str,
registry: &mut ExtensionRegistry,
) -> Result<(), ExtensionDeclarationError>
Expand description
Load a set of extensions from a YAML string into a registry.
Any required extensions must already be present in the registry.