pub fn normalize_purl(purl: &str) -> StringExpand description
Normalize a PURL string according to its type’s spec rules.
Per-type case/canonicalization rules are applied to the namespace and name; version, qualifiers, and subpath are preserved. Unparsable input and types with no rule are returned unchanged, so already-canonical PURLs never churn.