diff --git a/Cargo.lock b/Cargo.lock index a960bc4..c2a10d3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -183,7 +183,6 @@ dependencies = [ "bat", "cargo-subcommand-metadata", "clap", - "is-terminal", "prettyplease", "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index f6b5389..63ff881 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,7 +20,6 @@ prettyplease = [] bat = { version = "0.23", default-features = false, features = ["paging", "regex-fancy"] } cargo-subcommand-metadata = "0.1" clap = { version = "4", features = ["deprecated", "derive"] } -is-terminal = "0.4" prettyplease = { version = "0.2.9", features = ["verbatim"] } proc-macro2 = "1.0.63" quote = { version = "1.0", default-features = false } diff --git a/src/main.rs b/src/main.rs index bdf9778..5633e80 100644 --- a/src/main.rs +++ b/src/main.rs @@ -31,12 +31,11 @@ use crate::opts::{Coloring, Expand, Subcommand}; use crate::unparse::unparse_maximal; use bat::{PagingMode, PrettyPrinter}; use clap::{Parser, ValueEnum}; -use is_terminal::IsTerminal; use quote::quote; use std::env; use std::ffi::OsString; use std::fs; -use std::io::{self, BufRead, Write}; +use std::io::{self, BufRead, IsTerminal, Write}; use std::panic::{self, PanicInfo, UnwindSafe}; use std::path::{Path, PathBuf}; use std::process::{self, Command, Stdio};