In manifest_check_config() in manifest.rs, a warning is displayed if the description is not set in Cargo.toml.
Currently this appears as warning: description field is missing in Cargo.toml but I recommend including info about the usage of README's contents such as: warning: description field is missing in Cargo.toml, using README.md text instead
Why? Non-public codebases may have READMEs that contain information not intended for public consumption. Currently, cargo-deb will include it in deb packages quietly.
Additionally, README.md contents typically appear long and ugly (in e.g. apt info), so I believe a warning is warranted in the case of public codebases as well.
In
manifest_check_config()
in manifest.rs, a warning is displayed if thedescription
is not set inCargo.toml
.Currently this appears as
warning: description field is missing in Cargo.toml
but I recommend including info about the usage of README's contents such as:warning: description field is missing in Cargo.toml, using README.md text instead
Why? Non-public codebases may have READMEs that contain information not intended for public consumption. Currently,
cargo-deb
will include it in deb packages quietly.Additionally,
README.md
contents typically appear long and ugly (in e.g.apt info
), so I believe a warning is warranted in the case of public codebases as well.