Cargo Features
[dependencies]
cargo-spellcheck = { version = "0.15.1", default-features = false, features = ["hunspell", "all", "zet", "spellbook", "nlprules"] }
- default = all
-
The
all
feature is set by default whenevercargo-spellcheck
is added without
somewhere in the dependency tree.default-features = false - hunspell all = nlprules
-
hunspell uses the segmenter provided by nlprules
Enables encoding_rs and fd-lock and bundled of hunspell-rs
dictionary lookup with affixes
- all default = hunspell, nlprules, spellbook, zet
- zet all
-
Enables zspell
- spellbook all
-
Enables spellbook ^0.1
- nlprules all hunspell?
-
Enables nlprule-build and regex-fancy of nlprule
full grammar check, but also tokenization and disambiguation