Add config file parsing
Use the `serde` and `toml` crates to handle config file parsing.
This commit is contained in:
parent
665015c296
commit
d37f31dd8a
5 changed files with 160 additions and 12 deletions
6
config.toml
Normal file
6
config.toml
Normal file
|
@ -0,0 +1,6 @@
|
|||
[database]
|
||||
# host = "localhost"
|
||||
# port = 5432
|
||||
# name = "whakarite"
|
||||
# user = "whakarite"
|
||||
pass = "whakarite"
|
Loading…
Add table
Add a link
Reference in a new issue