remove unnecessary dependencies, put prefix on log handler when flattening
This commit is contained in:
Generated
-1
@@ -185,7 +185,6 @@ checksum = "a6139a8597ed92cf816dfb33f5dd6cf0bb93a6adc938f11039f371bc5bcd26c3"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"phf",
|
||||
"serde",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
||||
+1
-1
@@ -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"
|
||||
|
||||
@@ -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,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user