pub fn sanitize(part: &str) -> String
Replaces each character that a URI part cannot hold with -.
-
assert_eq!(riff_core::name::sanitize("feat/login page"), "feat-login-page");