[Pre-RFC] `cargo package` should include fewer files by default
Rust Internals [Unofficial]
April 25, 2026
bjorn3:
> Dev-dependencies may not even be present in the normalized Cargo.toml. For example if you are using a path for a dev-dependency without also specifying a version.
That should block publishing in my opinion, just as it would for normal dependencies.
Discussion in the ATmosphere