Closed Xanewok closed 4 years ago
Not feeling particularly strong about the stemmers
feature, feel free to skip it if you feel like it.
I'd love to land the first commit, which jieba-rs
and lindera
dependencies being made optional, though :heart:
Dropped the second commit to only fix the misconfigured features in the manifest.
Thank you! I should have noticed that after merging those.
Thanks for merging and releasing a new version!
While it's awesome to have, the relevant support doubles the amount of dependencies from 50 to 93, pulling some data/index crates, which can blow up the compilation time considerably, even if the user doesn't require the relevant language support.
It's great to have them enabled by the default but this commit allows to opt out via
--no-default-features --features stemmer
, without forcing the user to enumerate every language already supported by the rust-stemmers crate.