summaryrefslogtreecommitdiffhomepage
path: root/mullvad-daemon/src
diff options
context:
space:
mode:
Diffstat (limited to 'mullvad-daemon/src')
-rw-r--r--mullvad-daemon/src/relays.rs5
-rw-r--r--mullvad-daemon/src/settings.rs5
-rw-r--r--mullvad-daemon/src/system_service.rs12
3 files changed, 13 insertions, 9 deletions
diff --git a/mullvad-daemon/src/relays.rs b/mullvad-daemon/src/relays.rs
index e5a56bf4f0..778886163f 100644
--- a/mullvad-daemon/src/relays.rs
+++ b/mullvad-daemon/src/relays.rs
@@ -5,8 +5,9 @@ use futures::Future;
use mullvad_rpc::{HttpHandle, RelayListProxy};
use mullvad_types::location::Location;
-use mullvad_types::relay_constraints::{Constraint, LocationConstraint, Match, OpenVpnConstraints,
- RelayConstraints, TunnelConstraints};
+use mullvad_types::relay_constraints::{
+ Constraint, LocationConstraint, Match, OpenVpnConstraints, RelayConstraints, TunnelConstraints,
+};
use mullvad_types::relay_list::{Relay, RelayList, RelayTunnels};
use serde_json;
diff --git a/mullvad-daemon/src/settings.rs b/mullvad-daemon/src/settings.rs
index 9bf7245e03..9050d289c7 100644
--- a/mullvad-daemon/src/settings.rs
+++ b/mullvad-daemon/src/settings.rs
@@ -2,8 +2,9 @@ extern crate serde_json;
use app_dirs;
-use mullvad_types::relay_constraints::{Constraint, LocationConstraint, RelayConstraints,
- RelaySettings, RelaySettingsUpdate};
+use mullvad_types::relay_constraints::{
+ Constraint, LocationConstraint, RelayConstraints, RelaySettings, RelaySettingsUpdate,
+};
use talpid_types::net::TunnelOptions;
use std::fs::File;
diff --git a/mullvad-daemon/src/system_service.rs b/mullvad-daemon/src/system_service.rs
index 5c6e612cc5..af170247d1 100644
--- a/mullvad-daemon/src/system_service.rs
+++ b/mullvad-daemon/src/system_service.rs
@@ -9,11 +9,13 @@ use std::{env, io, thread};
use cli;
use error_chain::ChainedError;
-use windows_service::service::{ServiceAccess, ServiceControl, ServiceControlAccept,
- ServiceErrorControl, ServiceExitCode, ServiceInfo,
- ServiceStartType, ServiceState, ServiceStatus, ServiceType};
-use windows_service::service_control_handler::{self, ServiceControlHandlerResult,
- ServiceStatusHandle};
+use windows_service::service::{
+ ServiceAccess, ServiceControl, ServiceControlAccept, ServiceErrorControl, ServiceExitCode,
+ ServiceInfo, ServiceStartType, ServiceState, ServiceStatus, ServiceType,
+};
+use windows_service::service_control_handler::{
+ self, ServiceControlHandlerResult, ServiceStatusHandle,
+};
use windows_service::service_dispatcher;
use windows_service::service_manager::{ServiceManager, ServiceManagerAccess};