Fuzzy Compare
Rust library for fuzzy string matching using Levenshtein distance. Returns results with similarity coefficient (0.0 = 0%, 1.0 = 100%) sorted from best to worst match.
Features:
- Performance: O(n × L²) where L is average string length.
- Case-insensitive: With automatic lowercase conversion.
- Safe: Handles empty strings, division by zero.
- Generic: Works with any
Clonetype via closure. - Sorting: Descending sort by coefficient.
Examples:
Licensing:
Distributed under the MIT license.
Feedback:
You can find me here, also see my channel. I welcome your suggestions and feedback!
Copyright (c) 2025 Bulat Sh. (fuderis)