https://github.com/pksunkara/cargo-up
Automatically upgrade breaking changes
https://github.com/pksunkara/cargo-up
rust
Last synced: about 1 year ago
JSON representation
Automatically upgrade breaking changes
- Host: GitHub
- URL: https://github.com/pksunkara/cargo-up
- Owner: pksunkara
- License: mit
- Created: 2020-04-09T10:31:59.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-03-06T12:58:37.000Z (over 2 years ago)
- Last Synced: 2025-06-11T01:52:41.495Z (about 1 year ago)
- Topics: rust
- Language: Rust
- Homepage:
- Size: 164 KB
- Stars: 45
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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`
```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:
```bash
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: