Add example config file

This commit is contained in:
DefectingCat
2023-04-13 20:01:58 +08:00
parent 091b694f6c
commit 8a53f9eced
5 changed files with 16 additions and 1 deletions

View File

@ -13,3 +13,6 @@ indent_size = 4
[*.{diff,md}] [*.{diff,md}]
trim_trailing_whitespace = false trim_trailing_whitespace = false
[*.json]
indent_size = 2

8
config.example.json Normal file
View File

@ -0,0 +1,8 @@
{
"log_level": "info",
"list": {
"exact": ["19240158324"],
"wildcard": ["1924015*", "192*8324", "*40158324"]
}
}

1
src/config.rs Normal file
View File

@ -0,0 +1 @@
pub struct Config {}

0
src/logger.rs Normal file
View File

View File

@ -1,3 +1,6 @@
mod config;
mod logger;
fn main() { fn main() {
println!("Hello, world!"); println!("Hello, world!");
} }