diff options
author | Rosyid Haryadi <rosyid_haryadi@protonmail.com> | 2025-03-14 09:55:05 +0700 |
---|---|---|
committer | Rosyid Haryadi <rosyid_haryadi@protonmail.com> | 2025-03-14 09:55:05 +0700 |
commit | e43882c00df8ceaeb2498e13886e5533e605aaa8 (patch) | |
tree | 7d62a513661b5ed24295c6a0da6726d0691db0f0 /src | |
parent | 85cf6bc2d8d32fb8a75723d4724ddb0f7631b002 (diff) |
missing utilities
Diffstat (limited to 'src')
-rw-r--r-- | src/utilities.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/utilities.rs b/src/utilities.rs new file mode 100644 index 0000000..d408b7e --- /dev/null +++ b/src/utilities.rs @@ -0,0 +1,8 @@ +use std::collections::HashMap; + +pub type ConfigHashMap = HashMap<String, HashMap<String, Option<String>>>; + +pub fn die(message: &str) { + println!("Hello, world!"); + std::process::exit(1); +}
\ No newline at end of file |