pub fn apply_rewrites<S: BuildHasher>(
uri: &str,
rewrites: &HashMap<String, String, S>,
) -> StringExpand description
Apply rewrite rules to a schema URI. If the URI starts with any key in
rewrites, that prefix is replaced with the corresponding value.
The longest matching prefix wins.