I started this because I wanted to freeze all dependencies in my projects'
Cargo.toml
manifests to match the version I'd compiled in the Cargo.lock
lock files.
While searching for existing cargo manifest libraries, I stumbled upon
cargo-edit, which has an cargo-upgrade
subcommand that accomplishes
something similar, but instead of reading from the project's lock file, I
queries crates.io for the latest version.
I'd suggest using it instead of mine.