mirror of
https://github.com/DefectingCat/rua-list
synced 2025-07-15 08:41:32 +00:00
Add example config file
This commit is contained in:
@ -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
8
config.example.json
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"log_level": "info",
|
||||||
|
|
||||||
|
"list": {
|
||||||
|
"exact": ["19240158324"],
|
||||||
|
"wildcard": ["1924015*", "192*8324", "*40158324"]
|
||||||
|
}
|
||||||
|
}
|
1
src/config.rs
Normal file
1
src/config.rs
Normal file
@ -0,0 +1 @@
|
|||||||
|
pub struct Config {}
|
0
src/logger.rs
Normal file
0
src/logger.rs
Normal file
@ -1,3 +1,6 @@
|
|||||||
|
mod config;
|
||||||
|
mod logger;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
println!("Hello, world!");
|
println!("Hello, world!");
|
||||||
}
|
}
|
Reference in New Issue
Block a user