Add config file parsing

Use the `serde` and `toml` crates to handle config file parsing.
This commit is contained in:
finga 2023-01-24 00:46:25 +01:00
parent 665015c296
commit d37f31dd8a
5 changed files with 160 additions and 12 deletions

6
config.toml Normal file
View file

@ -0,0 +1,6 @@
[database]
# host = "localhost"
# port = 5432
# name = "whakarite"
# user = "whakarite"
pass = "whakarite"