summaryrefslogtreecommitdiffhomepage
path: root/talpid-openvpn/src
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2024-02-19 10:07:28 +0100
committerDavid Lönnhager <david.l@mullvad.net>2024-02-19 15:28:02 +0100
commit07bf94820842bd3a034ca4e9b32641d7ef1c5e78 (patch)
treeee442db468190aeccc151ed21749024f04b1b265 /talpid-openvpn/src
parent9c9b384adb6f3b7bc719c3a9f9c56f5ff8da4ceb (diff)
downloadmullvadvpn-07bf94820842bd3a034ca4e9b32641d7ef1c5e78.tar.xz
mullvadvpn-07bf94820842bd3a034ca4e9b32641d7ef1c5e78.zip
Fix redundant imports
Diffstat (limited to 'talpid-openvpn/src')
-rw-r--r--talpid-openvpn/src/lib.rs8
-rw-r--r--talpid-openvpn/src/process/openvpn.rs1
2 files changed, 2 insertions, 7 deletions
diff --git a/talpid-openvpn/src/lib.rs b/talpid-openvpn/src/lib.rs
index 1cd58bdf11..8bb09549d8 100644
--- a/talpid-openvpn/src/lib.rs
+++ b/talpid-openvpn/src/lib.rs
@@ -18,7 +18,7 @@ use std::{
time::Duration,
};
#[cfg(target_os = "linux")]
-use talpid_routing::{self, RequiredRoute};
+use talpid_routing::RequiredRoute;
use talpid_tunnel::TunnelEvent;
use talpid_types::{
net::{openvpn, proxy::CustomProxy},
@@ -780,7 +780,6 @@ mod event_server {
use talpid_types::{net::proxy::CustomProxy, ErrorExt};
use tokio::io::{AsyncRead, AsyncWrite, ReadBuf};
use tonic::{
- self,
transport::{server::Connected, Server},
Request, Response,
};
@@ -1090,10 +1089,7 @@ mod event_server {
mod tests {
use super::*;
use crate::mktemp::TempFile;
- use std::{
- path::{Path, PathBuf},
- sync::{Arc, Mutex},
- };
+ use std::sync::{Arc, Mutex};
#[cfg(windows)]
#[derive(Debug)]
diff --git a/talpid-openvpn/src/process/openvpn.rs b/talpid-openvpn/src/process/openvpn.rs
index c45c2c0a90..7a96a7d732 100644
--- a/talpid-openvpn/src/process/openvpn.rs
+++ b/talpid-openvpn/src/process/openvpn.rs
@@ -1,5 +1,4 @@
use futures::channel::oneshot;
-use shell_escape;
use std::{
ffi::{OsStr, OsString},
fmt, io,