expose to Tauri to ensure it works

This commit is contained in:
polv committed 2026-02-23 05:17:51 +07:00
1 parent 62cb1e5902
commit 098ee45b81
12 files changed
+108 -53

No files matched your search

+4 -1
View File
@@ -3,8 +3,11 @@ use std::time::Instant;
use anyhow::Ok;
use cjdic2_core::db::Database;
mod common;
use common::get_db_path;
fn main() -> Result<(), anyhow::Error> {
let db = Database::new("test.db")?;
let db = Database::new(get_db_path())?;
let start = Instant::now();
let rs = db.yomitan().search_yomitan("擦る", "する", 10, 0)?;