Disable doc generation for the ruff_cli binary

This commit is contained in:
Martin Fischer 2023-01-14 08:24:33 +01:00 committed by Charlie Marsh
parent a181ca7a3d
commit 033d7d7e91
1 changed files with 6 additions and 0 deletions

View File

@ -17,6 +17,12 @@ name = "ruff"
path = "src/main.rs"
doctest = false
# Since the name of the binary is the same as the name of the `ruff` crate
# running `cargo doc --no-deps --all` results in an `output filename collision`
# See also https://github.com/rust-lang/cargo/issues/6313.
# We therefore disable the documentation generation for the binary.
doc = false
[dependencies]
ruff = { path = ".." }