WIP: dependency updates

This commit is contained in:
dqnid committed 2026-05-31 11:03:13 +02:00
1 parent feb67ea6a4
commit ef206958a6
3 files changed
+6 -587

No files matched your search

+6 -3
View File
@@ -1,13 +1,16 @@
use std::fs::read_to_string;
use std::{env, fs::read_to_string};
const DEFAULT_CONFIG_PATH: str = "./assets/wordsmith_default.conf";
const DEFAULT_CONFIG_PATH: &'static str = "./src/assets/wordsmith_default.conf";
fn main() {
let args: Vec<String> = env::args().collect();
println!("Hello, world!");
for line in read_to_string(DEFAULT_CONFIG_PATH).unwrap().lines() {
if let Some((key, value)) = line.split_once(" ") {}
if let Some((key, value)) = line.split_once(" ") {
println!("Config {0} {1}", key, value);
}
}
// CREATE DB IF DOES NOT EXISTS