mirror of
https://github.com/patarapolw/cjdic2.git
synced 2026-11-09 17:39:35 +00:00
15 lines
279 B
Rust
15 lines
279 B
Rust
use std::time::Instant;
|
|
|
|
use anyhow::Ok;
|
|
use cjdic2_core::db::Database;
|
|
|
|
fn main() -> Result<(), anyhow::Error> {
|
|
let db = Database::new("test.db")?;
|
|
|
|
let start = Instant::now();
|
|
db.yomitan().create_schema()?;
|
|
println!("[{:.2?}]", start.elapsed());
|
|
|
|
Ok(())
|
|
}
|