remove unnecessary dependencies, put prefix on log handler when flattening

This commit is contained in:
Chris Beck
2025-12-06 09:50:33 -07:00
parent 64bc606201
commit 393d68e5ef
3 changed files with 2 additions and 3 deletions
Generated
-1
View File
@@ -185,7 +185,6 @@ checksum = "a6139a8597ed92cf816dfb33f5dd6cf0bb93a6adc938f11039f371bc5bcd26c3"
dependencies = [
"chrono",
"phf",
"serde",
]
[[package]]
+1 -1
View File
@@ -26,7 +26,7 @@ prometheus-http-client = { path = "prometheus-http-client", default-features = f
async-trait = "0.1"
chrono = { version = "0.4", default-features = false, features = ["clock", "serde", "std"] }
chrono-tz = { version = "0.10", features = ["serde"] }
chrono-tz = "0.10"
conf = { version = "0.4", features = ["serde"] }
conf-extra = "0.1"
displaydoc = "0.2"
+1 -1
View File
@@ -77,7 +77,7 @@ pub struct GatewayConfig {
#[conf(flatten)]
pub prometheus: Option<PrometheusConfig>,
/// Log handler configuration for processing log messages.
#[conf(flatten)]
#[conf(flatten, prefix)]
pub log_handler: LogHandlerConfig,
}