Original issue: #4988
Implementation: #5012
Documentation: https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#avoid-dev-deps
Issues:
Z-avoid-dev-deps
Nightly: avoid-dev-deps
-Z avoid-dev-deps flag avoids resolving dev-dependencies in certain targets like install.
@alexcrichton thinks that "in the long run [this wants] to be something like --minimal-cargo-lock which prunes all non-relevant dependencies like platform-specific dependencies that don't apply, dev-deps if you're not building tests, etc."
Original issue: #4988Nightly: avoid-dev-deps
Implementation: #5012
Documentation: https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#avoid-dev-deps
Issues: Z-avoid-dev-deps
-Z avoid-dev-depsflag avoids resolving dev-dependencies in certain targets likeinstall.@alexcrichton thinks that "in the long run [this wants] to be something like --minimal-cargo-lock which prunes all non-relevant dependencies like platform-specific dependencies that don't apply, dev-deps if you're not building tests, etc."