Skip to main content

parse_lockfile

Function parse_lockfile 

Source
pub fn parse_lockfile(
    text: &str,
    path: &str,
) -> Result<Vec<LockedPackage>, LockError>
Expand description

Parse the [[package]] entries of a Cargo lockfile. Deliberately minimal: only name, version and checksum are read, because only those are compared.