robertknight / ocrs

Rust library and CLI tool for OCR (extracting text from images)
Apache License 2.0
1.09k stars 44 forks source link

Disable doc generation for ocrs CLI tool #40

Closed robertknight closed 5 months ago

robertknight commented 5 months ago

When running cargo doc the docs for the ocrs binary would end up overwriting the docs for the ocrs library crate in target/doc/ocrs. Only the docs for the library crate are actually useful, so disable doc generation for the binary using doc = false. This follows suggestions in https://github.com/rust-lang/cargo/issues/6313.

Also generate docs in CI.