mirror of
https://github.com/patarapolw/cjdic2.git
synced 2026-11-09 17:39:35 +00:00
expose to Tauri to ensure it works
This commit is contained in:
1 parent
62cb1e5902
commit
098ee45b81
12 files changed
+108
-53
No files matched your search
@@ -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)?;
|
||||
|
||||
Reference in new issue
Block a user