File tree Expand file tree Collapse file tree 6 files changed +20
-9
lines changed
Expand file tree Collapse file tree 6 files changed +20
-9
lines changed Original file line number Diff line number Diff line change 33* Release notes are available on
44 [ GitHub] ( https://github.com/leontoeides/indicium/releases ) .
55
6+ # 0.6.5
7+
8+ * 2025-02-09: Substantial internal refactor. String similarity crates are now
9+ interfaced through a ` Fuzzy ` trait.
10+
11+ * 2025-02-09: Reduced the number of memory allocations needed to perform a
12+ search, resulting in a small performance improvement.
13+
14+ * 2025-01-12: Applied some ` clippy ` suggestions and did some house-keeping for
15+ the ` select2 ` feature.
16+
617# 0.6.4
718
819* 2025-01-12: New, default feature for fuzzy matching: ` rapidfuzz ` . When this
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ default = ["simple"]
1919simple = [" rapidfuzz" , " rustc-hash" ]
2020select2 = [" simple" , " dep:serde" ]
2121
22- fuzzy = [" dep:strsim " ]
22+ fuzzy = [" rapidfuzz " ]
2323strsim = [" dep:strsim" ]
2424eddie = [" dep:eddie" ] # Quite fast but not stable. Not recommended
2525rapidfuzz = [" dep:rapidfuzz" ]
Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ pub mod global_metric;
2020pub mod context;
2121pub mod context_metric;
2222
23- pub mod substitute;
24- pub mod substitute_metric;
23+ // pub mod substitute;
24+ // pub mod substitute_metric;
2525
2626// -----------------------------------------------------------------------------
2727//
Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ pub mod global_comparator;
2020pub mod context;
2121pub mod context_comparator;
2222
23- pub mod substitute;
24- pub mod substitute_comparator;
23+ // pub mod substitute;
24+ // pub mod substitute_comparator;
2525
2626// -----------------------------------------------------------------------------
2727//
Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ pub mod global_metric;
2020pub mod context;
2121pub mod context_metric;
2222
23- pub mod substitute;
24- pub mod substitute_metric;
23+ // pub mod substitute;
24+ // pub mod substitute_metric;
2525
2626// -----------------------------------------------------------------------------
2727//
Original file line number Diff line number Diff line change @@ -199,14 +199,14 @@ fn simple() {
199199 assert_eq ! ( autocomplete_options, vec![ "1087" . to_string( ) ] ) ;
200200
201201 // Test internal global fuzzy keyword search interface:
202- #[ cfg( feature = "eddie" ) ]
202+ /* #[cfg(feature = "eddie")]
203203 let similar_keyword = search_index.eddie_substitute(&"Willy".to_lowercase());
204204 #[cfg(feature = "rapidfuzz")]
205205 let similar_keyword = search_index.rapidfuzz_substitute(&"Willy".to_lowercase());
206206 #[cfg(feature = "strsim")]
207207 let similar_keyword = search_index.strsim_substitute(&"Willy".to_lowercase());
208208 #[cfg(any(feature = "eddie", feature = "rapidfuzz", feature = "strsim"))]
209- assert_eq ! ( similar_keyword, Some ( "william" ) ) ;
209+ assert_eq!(similar_keyword, Some("william")); */
210210
211211 // Test internal global fuzzy autocompletion interface:
212212 #[ cfg( feature = "eddie" ) ]
You can’t perform that action at this time.
0 commit comments