As a quick update, all of the "add" workflow changes are in master
, leaving just the "modify" workflow.
You can check out the -h
output or install it via cargo install --git https://github.com/killercup/cargo-edit cargo-edit
Summary of UI changes:
-
--sort
has been removed as part of decoupling reformatting from adding -
--upgrade <policy>
has been removed due to the unclear interface and low probability of need -
--allow-prerelease
has been removed awaiting further work on our pre-release story in cargo. It wasn't marked unstable because it is a relatively small feature that seems to have limited application, so it didn't seem worth it - Git URLs as positional arguments has been removed as detecting them is ambiguous and limits future evolution (any other kind of URLs we might want to accept)
-
<name>@<req>
has switched to<name>:<req>
as a parallel with the pkgid syntax -
--vers
was removed in favor of<name>:<req>
due to being redundant and reduces the difference between the "multiple add" vs "single add" modes, making it easier to explain -
--git <url>
is now unstable and has been put behind-Z git
feature flag as we work out how we want to expose git support