cargo-spellcheck
A Cargo command-line tool for checking spelling and grammar in Rust documentation.
By The cargo-spellcheck contributors
Alternatives
About cargo-spellcheck
cargo-spellcheck checks documentation for spelling and grammar mistakes using Hunspell and nlprule. It can suggest corrections interactively and supports fixing documentation comments from the command line.
It can also run in commit hooks or CI workflows to catch errors during review. Installation is available through Cargo, and macOS users need to make libclang available to the linker.
Strengths
- Checks spelling and grammar in Rust documentation
- Offers interactive correction suggestions
- Can run from commit hooks and CI
Limitations
- Requires libclang to be available when linking
- Focused on documentation in Rust projects
Details
- Pricing
- FreeFree and open source under the Apache-2.0 and MIT licenses.
- License
- Apache-2.0 OR MIT
- Developer
- The cargo-spellcheck contributors
- Platforms
- Command line
- How it runs
- Downloadable app
- Best suited for
- Rust developers reviewing documentation comments and project docs
- Categories
- CLI tools, Developer tools
- Last verified
- Added
- Provenance
- Selected from the Homebrew formula