Skip to content

Commit

Permalink
Replace is_terminal with std::io::IsTerminal
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian committed Oct 26, 2023
1 parent ec6ee55 commit 9208c47
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added the Cargo.lock file to the git repo
See: https://blog.rust-lang.org/2023/08/29/committing-lockfiles.html
- Upgrade dependencies
- Replace `is-terminal` dep with `std::io::IsTerminal`

## [0.3.1] - 2023-05-01

Expand Down
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ arrayvec = "0.7.4"
assert_matches = "1.5.0"
dhat = "0.3.2"
env_logger = "0.10.0"
is-terminal = "0.4.7"
log = "0.4.20"
parking_lot = "0.12.1"

Expand Down
3 changes: 1 addition & 2 deletions examples/simple_datagram_based_logger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,11 @@ fn main() -> io::Result<()> {
#[cfg(unix)]
mod unix {
use std::{
io::{self, Write},
io::{self, IsTerminal, Write},
os::unix::net::UnixDatagram,
};

use arrayvec::ArrayVec;
use is_terminal::IsTerminal;
use parking_lot::Mutex;
use syslog_fmt::{
v5424::{self, Timestamp},
Expand Down

0 comments on commit 9208c47

Please sign in to comment.