pub fn normalize_name(name: &str) -> Result<String, RegistryError>Expand description
Normalizes a component name: / becomes ., a leading ⚡ is removed, and :: namespaces are
kept.
§Errors
Fails when the name is empty, or when it holds a character a name cannot, which keeps a crafted name from escaping the registry or a view path.