summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMarkus Pettersson <markus.pettersson@mullvad.net>2025-07-15 13:28:16 +0200
committerMarkus Pettersson <markus.pettersson@mullvad.net>2025-07-15 14:56:58 +0200
commit06d1b98949331e7576c4a8fa126682b221b39ab2 (patch)
tree788febabd1e92d50a4e2ab81cfbe6cff5c9340df
parente6ef7481d81c35c8d73e3c0bd8b5e77cc9ea1d63 (diff)
downloadmullvadvpn-06d1b98949331e7576c4a8fa126682b221b39ab2.tar.xz
mullvadvpn-06d1b98949331e7576c4a8fa126682b221b39ab2.zip
Allow some unused structs
Do not modify closed migration code.
-rw-r--r--mullvad-daemon/src/migrations/v7.rs1
-rw-r--r--mullvad-daemon/src/migrations/v9.rs1
2 files changed, 2 insertions, 0 deletions
diff --git a/mullvad-daemon/src/migrations/v7.rs b/mullvad-daemon/src/migrations/v7.rs
index 0cc29df04e..4223505a47 100644
--- a/mullvad-daemon/src/migrations/v7.rs
+++ b/mullvad-daemon/src/migrations/v7.rs
@@ -19,6 +19,7 @@ use talpid_types::net::{
/// bridge server.
#[derive(Debug, Clone, Eq, PartialEq, Deserialize, Serialize)]
#[serde(rename_all = "snake_case")]
+#[allow(unused)]
pub enum BridgeSettings {
/// Let the relay selection algorithm decide on bridges, based on the relay list.
Normal(BridgeConstraints),
diff --git a/mullvad-daemon/src/migrations/v9.rs b/mullvad-daemon/src/migrations/v9.rs
index d8665a31d1..655b34acd4 100644
--- a/mullvad-daemon/src/migrations/v9.rs
+++ b/mullvad-daemon/src/migrations/v9.rs
@@ -33,6 +33,7 @@ const SPLIT_TUNNELING_STATE: &str = "split-tunnelling-enabled.txt";
/// Tunnel protocol
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, Serialize, Deserialize)]
#[serde(rename = "tunnel_type")]
+#[allow(unused)]
pub enum TunnelType {
#[serde(rename = "openvpn")]
OpenVpn,