From 94a206045b24717c306eed573c70b462b353889a Mon Sep 17 00:00:00 2001 From: QP Hou Date: Tue, 10 Oct 2023 22:31:01 -0700 Subject: [PATCH] make addr config optional (#302) --- roapi/src/config.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/roapi/src/config.rs b/roapi/src/config.rs index cb9cdf7..06a1ce2 100644 --- a/roapi/src/config.rs +++ b/roapi/src/config.rs @@ -21,6 +21,7 @@ pub struct AddrConfig { #[derive(Deserialize, Default, Clone)] pub struct Config { + #[serde(default)] pub addr: AddrConfig, pub tables: Vec, pub reload_interval: Option,