Skip to content

Commit 9ca8beb

Browse files
authored
chore: replace is-terminal with standard library (mozilla#2311)
1 parent 77f67d7 commit 9ca8beb

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

Diff for: Cargo.lock

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ hyper-util = { version = "0.1.3", optional = true, features = [
5353
"tokio",
5454
"server",
5555
] }
56-
is-terminal = "0.4.12"
5756
itertools = "0.12"
5857
jobserver = "0.1"
5958
jwt = { package = "jsonwebtoken", version = "9", optional = true }

Diff for: src/commands.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,10 @@ use crate::util::daemonize;
2525
use byteorder::{BigEndian, ByteOrder};
2626
use fs::{File, OpenOptions};
2727
use fs_err as fs;
28-
use is_terminal::IsTerminal;
2928
use log::Level::Trace;
3029
use std::env;
3130
use std::ffi::{OsStr, OsString};
32-
use std::io::{self, Write};
31+
use std::io::{self, IsTerminal, Write};
3332
#[cfg(unix)]
3433
use std::os::unix::process::ExitStatusExt;
3534
use std::path::Path;

0 commit comments

Comments
 (0)