mirror of
https://github.com/patarapolw/cjdic2.git
synced 2026-11-08 17:35:18 +00:00
17 lines
311 B
Rust
17 lines
311 B
Rust
use anyhow::Ok;
|
|
use cjdic2_core::{AppService, Timer};
|
|
|
|
mod common;
|
|
use common::get_db_dir;
|
|
|
|
fn main() -> Result<(), anyhow::Error> {
|
|
let service = AppService::new(get_db_dir())?;
|
|
|
|
{
|
|
let _timer = Timer::new("update schema".to_string());
|
|
service.get_yomitan_writer()?;
|
|
}
|
|
|
|
Ok(())
|
|
}
|