diff --git a/Cargo.lock b/Cargo.lock index 6ba669fe5e8c..02a94a8c4b8c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3489,7 +3489,6 @@ dependencies = [ "duct", "err-derive", "futures", - "is-terminal", "log", "once_cell", "os_pipe", diff --git a/talpid-openvpn/Cargo.toml b/talpid-openvpn/Cargo.toml index 259bfa9b66fe..028519613ca5 100644 --- a/talpid-openvpn/Cargo.toml +++ b/talpid-openvpn/Cargo.toml @@ -14,7 +14,6 @@ async-trait = "0.1" duct = "0.13" err-derive = { workspace = true } futures = "0.3.15" -is-terminal = "0.4.2" once_cell = "1.13" log = { workspace = true } os_pipe = "1.1.4" diff --git a/talpid-openvpn/src/process/openvpn.rs b/talpid-openvpn/src/process/openvpn.rs index 722468e3ca1c..0fbb292e2eac 100644 --- a/talpid-openvpn/src/process/openvpn.rs +++ b/talpid-openvpn/src/process/openvpn.rs @@ -378,7 +378,7 @@ impl OpenVpnProcHandle { /// Configures the expression to run OpenVPN in a way compatible with this handle /// and spawns it. Returns the handle. pub fn new(mut cmd: duct::Expression) -> io::Result { - use is_terminal::IsTerminal; + use std::io::IsTerminal; if !std::io::stdout().is_terminal() { cmd = cmd.stdout_null();