This may be out of scope of cargo-edit, but my writing this down not to forget it.
The idea is that when library authors make a breaking change, they also write a script e.g. in ra_ssr that does the migration for your code wherever possible.
Then cargo-upgrade would pull these migration scripts (assuming some convention for a standard location) and run them.
Imagine a world where even a major upgrade e.g. from tokio 0.2 to tokio 0.3 can be done with a single cargo upgrade :)
This may be out of scope of
cargo-edit, but my writing this down not to forget it.The idea is that when library authors make a breaking change, they also write a script e.g. in
ra_ssrthat does the migration for your code wherever possible.Then
cargo-upgradewould pull these migration scripts (assuming some convention for a standard location) and run them.Imagine a world where even a major upgrade e.g. from tokio 0.2 to tokio 0.3 can be done with a single
cargo upgrade:)