diff --git a/plugins/src/messages.rs b/plugins/src/messages.rs index bdd80ce320eb..90be18872551 100644 --- a/plugins/src/messages.rs +++ b/plugins/src/messages.rs @@ -75,10 +75,13 @@ pub struct Configuration { pub startup: bool, pub network: String, pub feature_set: HashMap, - pub proxy: ProxyInfo, + + // The proxy related options are only populated if a proxy was + // configured. + pub proxy: Option, #[serde(rename = "torv3-enabled")] - pub torv3_enabled: bool, - pub always_use_proxy: bool, + pub torv3_enabled: Option, + pub always_use_proxy: Option, } #[derive(Clone, Debug, Deserialize)]