eopb / cargo-override

The quickest way to override dependencies with Cargo
Apache License 2.0
42 stars 4 forks source link

Add possibility to revert the override #130

Open teamplayer3 opened 1 month ago

teamplayer3 commented 1 month ago

I think the title describes it well. It would be cool to revert an override. This could be done by hand, by removing the line, but it would standardize the process of handling the overrides.

CLI

cargo rm-override -p <package-name>
eopb commented 1 month ago

Thanks for opening this issue. I agree this would be great to have. I'd probably go for cargo rm-override -p <pkgid> rather than a --revert flag to closer match what cargo already has for cargo add and cargo remove.

This shouldn't be too hard to implement so I'll label this issue "good first issue"

teamplayer3 commented 1 month ago

I will start working on it.

eopb commented 1 month ago

Awesome! Let me know if you run into any issues