summary refs log tree commit diff
path: root/src/main.rs
diff options
context:
space:
mode:
authorAshelyn Dawn <git@ashen.earth>2024-01-29 23:45:50 -0700
committerAshelyn Rose <git@ashen.earth>2024-07-02 22:11:53 -0600
commit0d96660fcbdb6ad7f2cef60f74b09018e0386036 (patch)
tree2d07cebfeed9fa1af51e8308a44efef106ae5c08 /src/main.rs
parent42f81f6f816190d764d0611a90ab8f8b9e44d587 (diff)
config structure parsing
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index e7a11a9..a9f2686 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,3 +1,9 @@
+mod config;
+use config::Config;
+
 fn main() {
     println!("Hello, world!");
+
+    let config_str = include_str!("../config.toml");
+    let config = Config::load(config_str.to_string());
 }