pub fn parse_purl(purl: &str) -> Option<(&str, String, &str)>
Parse a PURL into ecosystem, package directory path, and version. Supports npm, pypi, and (with cargo feature) cargo PURLs.
cargo