server: Simplify the debug print of various structs

And use derive_more more liberally to simplify the impls
This commit is contained in:
Valentin Tolmer
2024-09-07 23:50:08 +02:00
committed by nitnelave
parent 5db0072cfa
commit 65e2103365
9 changed files with 118 additions and 60 deletions
+5 -1
View File
@@ -25,7 +25,6 @@ base64 = "0.21"
bincode = "1.3"
cron = "*"
derive_builder = "0.12"
derive_more = "0.99"
figment_file_provider_adapter = "0.1"
futures = "*"
futures-util = "*"
@@ -64,6 +63,11 @@ version = "*"
features = ["std", "color", "suggestions", "derive", "env"]
version = "4"
[dependencies.derive_more]
features = ["debug", "display", "from", "from_str"]
default-features = false
version = "1"
[dependencies.figment]
features = ["env", "toml"]
version = "*"