Skip to content

Commit 08f98d5

Browse files
authored
Merge pull request #69 from Nilstrieb/main
Replace is-terminal with std
2 parents 5b5ebb6 + e6efa99 commit 08f98d5

File tree

3 files changed

+2
-158
lines changed

3 files changed

+2
-158
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ license = "MIT OR Apache-2.0"
77
description = "A Tracing Layer which prints a tree of spans and events."
88
repository = "https://github.com/davidbarsky/tracing-tree"
99
readme = "README.md"
10+
rust-version = "1.70"
1011

1112
[dependencies]
1213
tracing-core = "0.1"
@@ -16,7 +17,6 @@ tracing-subscriber = { version = "0.3", default-features = false, features = [
1617
"std",
1718
] }
1819
nu-ansi-term = "0.46.0"
19-
is-terminal = "0.4.7"
2020
tracing-log = { version = "0.1", optional = true }
2121
time = { version = "0.3.20", optional = true, features = [
2222
"formatting",

src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@ pub mod time;
44
use crate::time::FormatTime;
55
use format::{write_span_mode, Buffers, ColorLevel, Config, FmtEvent, SpanMode};
66

7-
use is_terminal::IsTerminal;
87
use nu_ansi_term::{Color, Style};
98
use std::{
109
fmt::{self, Write as _},
11-
io,
10+
io::{self, IsTerminal},
1211
iter::Fuse,
1312
mem,
1413
sync::Mutex,

test_dependencies/Cargo.lock

Lines changed: 0 additions & 155 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)