2022-04-16 22:09:23 +00:00
|
|
|
mod init;
|
|
|
|
|
2022-04-16 19:23:56 +00:00
|
|
|
use homedisk_utils::{config::Config, database::Database};
|
2022-04-16 18:19:38 +00:00
|
|
|
|
|
|
|
#[tokio::main]
|
|
|
|
async fn main() {
|
2022-04-16 22:09:23 +00:00
|
|
|
init::init();
|
2022-04-16 18:19:38 +00:00
|
|
|
|
2022-04-16 19:22:01 +00:00
|
|
|
let _config = Config::parse().expect("parse configuration file");
|
|
|
|
|
2022-04-16 22:09:23 +00:00
|
|
|
let _db = Database::open().expect("open SQLite database");
|
2022-04-16 18:19:38 +00:00
|
|
|
}
|