Skip to main content

Module normalization

Module normalization 

Source

Enums§

NormalizeError

Functions§

normalize_module_name
Normalizes module names by removing dots and converting to lowercase. Allows domain names like near.ai or names stylized with capital letters. The name field of crate::ModuleManifest should equal the normalized form.
normalize_url
Normalizes URLs and file paths into valid IRI format with consistent scheme handling.