refactor: `is_terminal` no longer requires an external crate (#8572)
* refactor: `is_terminal` no longer requires an external crate This is now part of the stdlib. * chore: Run cargo hakari tasks --------- Co-authored-by: CircleCI[bot] <circleci@influxdata.com>pull/24376/head
parent
af8f98e35f
commit
196c589ef6
|
@ -6366,7 +6366,6 @@ name = "trogging"
|
|||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"clap",
|
||||
"is-terminal",
|
||||
"logfmt",
|
||||
"observability_deps",
|
||||
"regex",
|
||||
|
@ -6961,7 +6960,6 @@ dependencies = [
|
|||
"regex-syntax 0.7.4",
|
||||
"reqwest",
|
||||
"ring",
|
||||
"rustix",
|
||||
"rustls",
|
||||
"scopeguard",
|
||||
"serde",
|
||||
|
|
|
@ -8,7 +8,6 @@ license.workspace = true
|
|||
|
||||
[dependencies]
|
||||
clap = { version = "4", features = ["derive", "env"], optional = true }
|
||||
is-terminal = "0.4.9"
|
||||
logfmt = { path = "../logfmt" }
|
||||
observability_deps = { path = "../observability_deps" }
|
||||
thiserror = "1.0.47"
|
||||
|
|
|
@ -20,14 +20,14 @@ pub mod config;
|
|||
|
||||
pub use config::*;
|
||||
|
||||
use is_terminal::IsTerminal;
|
||||
// Re-export tracing_subscriber
|
||||
pub use tracing_subscriber;
|
||||
|
||||
use observability_deps::tracing::{self, Subscriber};
|
||||
use std::cmp::min;
|
||||
use std::io;
|
||||
use std::io::Write;
|
||||
use std::{
|
||||
cmp::min,
|
||||
io::{self, IsTerminal, Write},
|
||||
};
|
||||
use thiserror::Error;
|
||||
use tracing_subscriber::{
|
||||
fmt::{self, writer::BoxMakeWriter, MakeWriter},
|
||||
|
|
|
@ -166,39 +166,33 @@ uuid = { version = "1", features = ["v4"] }
|
|||
bitflags = { version = "2", default-features = false, features = ["std"] }
|
||||
nix = { version = "0.26" }
|
||||
once_cell = { version = "1", default-features = false, features = ["unstable"] }
|
||||
rustix = { version = "0.38", features = ["fs", "termios"] }
|
||||
rustls = { version = "0.21" }
|
||||
|
||||
[target.x86_64-unknown-linux-gnu.build-dependencies]
|
||||
bitflags = { version = "2", default-features = false, features = ["std"] }
|
||||
once_cell = { version = "1", default-features = false, features = ["unstable"] }
|
||||
rustix = { version = "0.38", features = ["fs", "termios"] }
|
||||
rustls = { version = "0.21" }
|
||||
|
||||
[target.x86_64-apple-darwin.dependencies]
|
||||
bitflags = { version = "2", default-features = false, features = ["std"] }
|
||||
nix = { version = "0.26" }
|
||||
once_cell = { version = "1", default-features = false, features = ["unstable"] }
|
||||
rustix = { version = "0.38", features = ["fs", "termios"] }
|
||||
rustls = { version = "0.21" }
|
||||
|
||||
[target.x86_64-apple-darwin.build-dependencies]
|
||||
bitflags = { version = "2", default-features = false, features = ["std"] }
|
||||
once_cell = { version = "1", default-features = false, features = ["unstable"] }
|
||||
rustix = { version = "0.38", features = ["fs", "termios"] }
|
||||
rustls = { version = "0.21" }
|
||||
|
||||
[target.aarch64-apple-darwin.dependencies]
|
||||
bitflags = { version = "2", default-features = false, features = ["std"] }
|
||||
nix = { version = "0.26" }
|
||||
once_cell = { version = "1", default-features = false, features = ["unstable"] }
|
||||
rustix = { version = "0.38", features = ["fs", "termios"] }
|
||||
rustls = { version = "0.21" }
|
||||
|
||||
[target.aarch64-apple-darwin.build-dependencies]
|
||||
bitflags = { version = "2", default-features = false, features = ["std"] }
|
||||
once_cell = { version = "1", default-features = false, features = ["unstable"] }
|
||||
rustix = { version = "0.38", features = ["fs", "termios"] }
|
||||
rustls = { version = "0.21" }
|
||||
|
||||
[target.x86_64-pc-windows-msvc.dependencies]
|
||||
|
|
Loading…
Reference in New Issue