This release includes a refactor of the whole lib, which also includes breaking changes. The API of this crate isn't that big (and hasn't really grown with this version) so checking the new documentation for best_match and FuzzySearch and comparing should yield quick results.
The core functionality of the crate remains the same. Mostly this is a code quality/ergonomics rewrite, other changes:
- Removed
bonus_coverage. Only possible use of this bonus was to compare matches of different query strings into one target string. But it's not clear how the consumer of this crate would exactly use it. - Added
bonus_match_case. Adds bonus score if a char match also matches case (T->Tinstead oft->T). Only applies when the matching is case insensitive (otherwiset->Twould not match at all). - Massaged code/naming
continuous_matchesnow returns an iterator instead of the completeVec- Up to 30% better performance in some cases, no (known) performance degradations
- More tests