From 0d96660fcbdb6ad7f2cef60f74b09018e0386036 Mon Sep 17 00:00:00 2001 From: Ashelyn Dawn Date: Mon, 29 Jan 2024 23:45:50 -0700 Subject: config structure parsing --- src/main.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/main.rs') 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()); } -- cgit 1.4.1