mirror of
https://github.com/patarapolw/cjdic2.git
synced 2026-11-09 17:39:35 +00:00
18 lines
321 B
Rust
18 lines
321 B
Rust
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(get_db_path())?;
|
|
|
|
let start = Instant::now();
|
|
db.yomitan().create_schema()?;
|
|
println!("[{:.2?}]", start.elapsed());
|
|
|
|
Ok(())
|
|
}
|