mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-25 11:14:46 +00:00

Use workspace lockfile when running `cargo package` and `cargo publish` ### What does this PR try to resolve? Fix #11148. ### How should we test and review this PR? Please run the integration test in `tests/testsuite/publish_lockfile.rs` or try the steps from the issue.