#ast #upgrade #automatic #cargo-up #breaking #rust-analyzer


Visitor trait for Rust AST based on rust-analyzer

5 unstable releases

0.3.1 Apr 30, 2022
0.3.0 Oct 13, 2021
0.2.1 Nov 13, 2020
0.2.0 Oct 9, 2020
0.1.0 Oct 2, 2020

#3 in #cargo-up

Download history 12/week @ 2024-02-22 14/week @ 2024-02-29 9/week @ 2024-03-07 10/week @ 2024-03-14 1/week @ 2024-03-21 23/week @ 2024-03-28 16/week @ 2024-04-04

52 downloads per month
Used in cargo-up

MIT license

188 lines


Upgrade your dependencies by automatically fixing your code

Dont be afraid to upgrade


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

Users Workflow

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

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



~64K SLoC