Made tls optional
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-01-17 18:12:03 +01:00
parent 90eedbf86e
commit 614b4b5e43
4 changed files with 8 additions and 1 deletions

View File

@@ -34,6 +34,8 @@ pub struct MqttConfig {
pub port: u16,
pub username: String,
pub password: String,
#[serde(default)]
pub tls: bool
}
#[derive(Debug, Deserialize)]