diff --git a/Cargo.lock b/Cargo.lock index dc30bd010..8a79ec0ff 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2544,7 +2544,6 @@ dependencies = [ "http-body-util", "hyper 1.1.0", "hyper-util", - "is-terminal", "itertools", "jobserver", "jsonwebtoken", diff --git a/Cargo.toml b/Cargo.toml index 293f979b4..d29cdbbb1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -53,7 +53,6 @@ hyper-util = { version = "0.1.3", optional = true, features = [ "tokio", "server", ] } -is-terminal = "0.4.12" itertools = "0.12" jobserver = "0.1" jwt = { package = "jsonwebtoken", version = "9", optional = true } diff --git a/src/commands.rs b/src/commands.rs index 0811b331b..4de22e758 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -25,11 +25,10 @@ use crate::util::daemonize; use byteorder::{BigEndian, ByteOrder}; use fs::{File, OpenOptions}; use fs_err as fs; -use is_terminal::IsTerminal; use log::Level::Trace; use std::env; use std::ffi::{OsStr, OsString}; -use std::io::{self, Write}; +use std::io::{self, IsTerminal, Write}; #[cfg(unix)] use std::os::unix::process::ExitStatusExt; use std::path::Path;