make addr config optional (#302)

This commit is contained in:
QP Hou 2023-10-10 22:31:01 -07:00 committed by GitHub
parent b10afb0116
commit 94a206045b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,6 +21,7 @@ pub struct AddrConfig {
#[derive(Deserialize, Default, Clone)]
pub struct Config {
#[serde(default)]
pub addr: AddrConfig,
pub tables: Vec<TableSource>,
pub reload_interval: Option<Duration>,