cargo-audit uses cargo-edit as a library as part of its --fix functionality in order to attempt to automatically update Cargo.lock with versions containing fixes.
We're currently on cargo-edit v0.9 using LocalManifest::upgrade to perform the upgrade, but this method appears to have been removed in cargo-edit v0.10 and we couldn't find any information in the CHANGELOG regarding what happened to it or what to replace it with.
What should we use in newer versions of cargo-edit to perform a similar function? We also currently offer a --dry-run option and ideally we'd like to preserve that functionality as well if possible.
See also: rustsec/rustsec#801
cargo-auditusescargo-editas a library as part of its--fixfunctionality in order to attempt to automatically update Cargo.lock with versions containing fixes.We're currently on
cargo-editv0.9 usingLocalManifest::upgradeto perform the upgrade, but this method appears to have been removed incargo-editv0.10 and we couldn't find any information in the CHANGELOG regarding what happened to it or what to replace it with.What should we use in newer versions of
cargo-editto perform a similar function? We also currently offer a--dry-runoption and ideally we'd like to preserve that functionality as well if possible.See also: rustsec/rustsec#801