remove unnecessary dependencies, put prefix on log handler when flattening
This commit is contained in:
Generated
-1
@@ -185,7 +185,6 @@ checksum = "a6139a8597ed92cf816dfb33f5dd6cf0bb93a6adc938f11039f371bc5bcd26c3"
|
|||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
"chrono",
|
||||||
"phf",
|
"phf",
|
||||||
"serde",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
|||||||
+1
-1
@@ -26,7 +26,7 @@ prometheus-http-client = { path = "prometheus-http-client", default-features = f
|
|||||||
|
|
||||||
async-trait = "0.1"
|
async-trait = "0.1"
|
||||||
chrono = { version = "0.4", default-features = false, features = ["clock", "serde", "std"] }
|
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 = { version = "0.4", features = ["serde"] }
|
||||||
conf-extra = "0.1"
|
conf-extra = "0.1"
|
||||||
displaydoc = "0.2"
|
displaydoc = "0.2"
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ pub struct GatewayConfig {
|
|||||||
#[conf(flatten)]
|
#[conf(flatten)]
|
||||||
pub prometheus: Option<PrometheusConfig>,
|
pub prometheus: Option<PrometheusConfig>,
|
||||||
/// Log handler configuration for processing log messages.
|
/// Log handler configuration for processing log messages.
|
||||||
#[conf(flatten)]
|
#[conf(flatten, prefix)]
|
||||||
pub log_handler: LogHandlerConfig,
|
pub log_handler: LogHandlerConfig,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user