refactor(sender, receiver, relay): changed use of .env file to a config file
added support for a config file. under linux this will be under XDG_HOME/.config/caesar with name caesar.toml
This commit is contained in:
parent
bb492aa962
commit
aa183a30bd
5 changed files with 226 additions and 46 deletions
|
|
@ -17,7 +17,9 @@ serde_json = { version = "1.0" }
|
|||
serde = { version = "1.0", features = ["derive"] }
|
||||
tracing = "0.1.40"
|
||||
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
|
||||
dotenv = { version = "0.15.0", features = ["clap", "cli"] }
|
||||
clap = { version = "4.5.4", features = ["derive"] }
|
||||
axum = { version = "0.7.5", features = ["ws"] }
|
||||
axum-client-ip = "0.6.0"
|
||||
confy = "0.6.1"
|
||||
dotenvy = { version = "0.15.7", features = ["clap", "cli"] }
|
||||
lazy_static = "1.4.0"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue