Used the config-rs crate to allow reading from a config file from /etc/zealot/config.toml and from the home directory
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2022-09-15 18:10:42 -04:00
parent 0b6fb8a4f8
commit 024e4b2e1c
5 changed files with 25 additions and 46 deletions

View File

@ -8,6 +8,7 @@ license = "BSD 2-Clause"
authors = ["Gregory Ballantine <gballantine@bitgoblin.tech>"]
[dependencies]
config = { version = "0.13", features = ['toml'] }
log = "0.4"
log4rs = "1.1"
toml = "0.5"