blur
A simple fuzzy search library for Rust.
Features
- Fuzzy substring matching
- Sorts results by match quality
- Easy to use API
Usage
Add to your Cargo.toml:
[]
= "0.1.0"
Example
use FuzzySearcher;
License
MIT OR Apache-2.0
A simple fuzzy search library for Rust.
Add to your Cargo.toml:
[dependencies]
blur_search = "0.1.0"
use blur_search::FuzzySearcher;
fn main() {
let mut searcher = FuzzySearcher::new(
"hello".to_string(),
vec!["hel--lo".to_string(), "h-e-l-l-o".to_string()],
);
searcher.display();
}
MIT OR Apache-2.0