mirror of
https://github.com/patarapolw/cjdic2.git
synced 2026-11-08 17:35:18 +00:00
18 lines
324 B
Rust
18 lines
324 B
Rust
use std::time::Instant;
|
|
|
|
use anyhow::Ok;
|
|
use cjdic2_core::AppService;
|
|
|
|
mod common;
|
|
use common::get_db_dir;
|
|
|
|
fn main() -> Result<(), anyhow::Error> {
|
|
let service = AppService::new(get_db_dir())?;
|
|
|
|
let start = Instant::now();
|
|
service.get_yomitan_writer()?;
|
|
println!("[{:.2?}]", start.elapsed());
|
|
|
|
Ok(())
|
|
}
|