Documentation: Which files should you include in your package? #14660
Labels
A-documenting-cargo-itself
Area: Cargo's documentation
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
S-triage
Status: This issue is waiting on initial triage.
The cargo book writes about the Manifest options
include
andexclude
here and about publishing here. I find it confusing that the book does not explain which files you should include in the package. Obviously, you need to include the files that you need to build the package. That would usually beCargo.toml
andsrc/
. But what about files that that Cargo includes by default but are not needed to build the package? For example, examples, integration tests, documentation. These files are only relevant to development. I would like the cargo book to explain this.The text was updated successfully, but these errors were encountered: