Closed
Description
Implementation PR: #5093
Summary:
For binary crate, add
cargo-features = ["publish-lockfile"]`
[project]
publish-lockfile = true
to Cargo.toml. cargo install
will then use the lockfile of binary crates.
Steps:
Feature ready for stabilization
Stabilization TODO:
-
move docs from https://github.com/rust-lang/cargo/blob/5845464cf92a348f95dc6b43133c017c37fcb684/src/doc/src/reference/unstable.md#publish-lockfile to appropriate location.
-
remove feature gate