[Pre-RFC] `cargo package` should include fewer files by default
Rust Internals [Unofficial]
April 24, 2026
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. Then it gets omitted entirely when building the package.
Discussion in the ATmosphere