summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorFxQnLr <[email protected]>2022-12-26 21:57:03 +0100
committerFxQnLr <[email protected]>2022-12-26 21:57:03 +0100
commit0515548682a95db643a008146105d8ecdb446e58 (patch)
tree6622c5e6b0f97fe83aa559bda128d13947fe92b5 /src/main.rs
parent43206da6f40027715582599baa0ad1c91477539e (diff)
downloadmodlist-0515548682a95db643a008146105d8ecdb446e58.tar
modlist-0515548682a95db643a008146105d8ecdb446e58.tar.gz
modlist-0515548682a95db643a008146105d8ecdb446e58.zip
changed config to toml, autocreate config;
better error handling
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 957e5aa..a093bb7 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -2,7 +2,7 @@ use modlist::{config::Cfg, input::get_input};
2 2
3#[tokio::main] 3#[tokio::main]
4async fn main() { 4async fn main() {
5 let config = Cfg::init("config.ini"); 5 let config = Cfg::init("config.toml").unwrap();
6 //TODO Error Handling 6 //TODO Error Handling
7 get_input(config).await.unwrap(); 7 get_input(config).await.unwrap();
8} 8}