Skip to content

Update Cargo.lock in remove, fix versions in tests#780

Merged
epage merged 10 commits into
killercup:merge-rmfrom
cassaundra:merge-rm-lock
Sep 8, 2022
Merged

Update Cargo.lock in remove, fix versions in tests#780
epage merged 10 commits into
killercup:merge-rmfrom
cassaundra:merge-rm-lock

Conversation

@cassaundra

Copy link
Copy Markdown
Contributor

This PR introduces functionality for cargo remove to update Cargo.lock, like rust-lang/cargo#10902.

As it turns out, the testing Cargo.tomls contain a lot of package versions without mock equivalents. In order to facilitate the fix for this, tests were grouped into three base examples to be symlinked against. This was essentially a planned refactor that I had forgotten about anyway.

Comment thread crates/cargo-remove/src/cargo/ops/cargo_remove/mod.rs Outdated
Comment thread crates/cargo-remove/src/cargo/ops/cargo_remove/mod.rs Outdated
@epage

epage commented Sep 2, 2022

Copy link
Copy Markdown
Collaborator

Looks good outside of the two unresolved comments

@epage epage merged commit bda1be9 into killercup:merge-rm Sep 8, 2022
@cassaundra cassaundra mentioned this pull request Sep 14, 2022
14 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants