aboutsummaryrefslogtreecommitdiffstats
path: root/crates/rule-executor/src/cnfg.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/rule-executor/src/cnfg.rs')
-rw-r--r--crates/rule-executor/src/cnfg.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rule-executor/src/cnfg.rs b/crates/rule-executor/src/cnfg.rs
index eac1c2d..bdf3520 100644
--- a/crates/rule-executor/src/cnfg.rs
+++ b/crates/rule-executor/src/cnfg.rs
@@ -12,7 +12,6 @@ pub struct LocalConfig {
#[derive(Deserialize, Clone)]
#[serde(rename_all = "kebab-case")]
pub struct Nats {
- pub name: Arc<str>,
pub subjects: Arc<[String]>,
pub durable_name: Arc<str>,
pub destination_prefix: Arc<str>,
@@ -20,6 +19,7 @@ pub struct Nats {
}
#[derive(Deserialize, Clone)]
+#[serde(rename_all = "kebab-case")]
pub struct ConfigNats {
pub stream: Arc<str>,
pub reload_subject: Arc<str>,