pub fn parse_lockfile(content: &str) -> BTreeMap<String, String>
Parses a Cargo.lock string and returns a map of package name to version.