#automatic #upgrade #cargo #version #fixing

bin+lib cargo-up

Upgrade your dependencies by automatically fixing your code

6 releases

0.1.0 Apr 12, 2020
0.0.6 Apr 30, 2022
0.0.5 Oct 14, 2021
0.0.4 Nov 13, 2020
0.0.1 May 9, 2020

#519 in Cargo plugins

25 downloads per month
Used in 4 crates

MIT license

52KB
1.5K SLoC

cargo-up

Upgrade your dependencies by automatically fixing your code

Dont be afraid to upgrade

Installation

cargo install cargo-up --features cli --no-default-features

Users Workflow

Assuming that you have a project with the following Cargo.toml

[dependencies]
foo = "0.8.2"

If foo has released 0.9.0 with breaking changes along with a new release of their foo_up which details the changes, you can simply run the following command in your project:

cargo up dep foo

Your project code will be automatically upgraded to use the new foo@0.9.0.

NOTE: The tool upgrades to the latest version of the dependency, which means it can do several sequential version upgrades one after the other in a single run.

Maintainers Workflow

TODO:

Dependencies

~2–17MB
~261K SLoC