Matching substrings works

Want to try also using something like this for finding spelling mistakes etc.
https://github.com/life4/textdistance.rs

Going to have to try to do some combination though to ensure exact substring
matches, even when missing the latter half, still work well. Maybe... I dunno
will have to try.
This commit is contained in:
2025-08-16 21:38:34 +01:00
parent 72fa35d41a
commit 6558a31619
3 changed files with 30 additions and 8 deletions

View File

@@ -5,7 +5,7 @@ mod deser;
pub use crate::deser::ScryfallCard;
mod db;
pub use db::{get_all_card_names, init_db, update_db_with_file};
pub use db::{get_all_lowercase_card_names, init_db, update_db_with_file};
mod utils;
pub use utils::get_local_cache_folder;