Moved string matching to sqlite

Probably (definitely more efficient)
This commit is contained in:
2025-08-20 21:07:37 +01:00
parent 6ff0204189
commit 3f7cd6353a
4 changed files with 51 additions and 23 deletions

View File

@@ -6,8 +6,8 @@ pub use crate::deser::ScryfallCard;
mod db;
pub use db::{
get_all_card_names, get_all_lowercase_card_names, get_card_by_name, init_db,
update_db_with_file, GetNameType,
find_matching_cards, get_all_card_names, get_all_lowercase_card_names, get_card_by_name,
init_db, update_db_with_file, GetNameType,
};
mod utils;