cargo package: please provide a --list0 option to print NUL-terminated filenames #3306
Labels
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Command-package
S-needs-info
Status: Needs more info, such as a reproduction or more background for a feature request.
cargo package --list
lists all the filenames the .crate file would include, followed by newlines. A crate could potentially include a file whose name includes a newline, such as for test data. Please consider providing acargo package --list0
option to list filenames followed by NUL characters instead of newlines.(After adding such an option,
cargo package --list
should probably fail with an error and no other output if any filename includes a newline, to catch errors.)The text was updated successfully, but these errors were encountered: