Skip to content

Commit

Permalink
Remove is terminal dependency (#745)
Browse files Browse the repository at this point in the history
* Remove is_terminal dependency

* Fix CI
  • Loading branch information
psvri authored Dec 1, 2023
1 parent e1a8c9a commit 5686399
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 12 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
matrix:
rust:
- stable
- 1.64.0 # MSRV
- 1.70.0 # MSRV
- nightly

steps:
Expand All @@ -34,14 +34,6 @@ jobs:
- uses: Swatinem/rust-cache@v2
name: Load dependencies from cache

- name: Fix dep versions for MSRV
if: ${{ matrix.rust == '1.64.0' }}
run: |
cargo update -p clap --precise 4.3.24 # 4.4 moves to msrv 1.70
cargo update -p clap_lex --precise 0.5.0 # 0.5.1 moves to msrv 1.70 in a patch release
cargo update -p anstyle --precise 1.0.2 # 1.0.3 moves to msrv 1.70 in a patch release
cargo update -p regex --precise 1.9.6 # 1.10 moves to msrv 1.65
- name: Build with stable features
run: cargo build --features stable

Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
- MSRV bumped to 1.70

## [0.5.1] - 2023-05-26

Expand Down
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ serde = "1.0"
serde_json = "1.0"
serde_derive = "1.0"
ciborium = "0.2.0"
is-terminal = "0.4.6"
clap = { version = "4", default-features = false, features = ["std", "help"] }
walkdir = "2.3"
tinytemplate = "1.1"
Expand Down
3 changes: 1 addition & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ extern crate approx;
#[cfg(test)]
extern crate quickcheck;

use is_terminal::IsTerminal;
use regex::Regex;

#[cfg(feature = "real_blackbox")]
Expand Down Expand Up @@ -77,7 +76,7 @@ use std::cell::RefCell;
use std::collections::HashSet;
use std::default::Default;
use std::env;
use std::io::stdout;
use std::io::{stdout, IsTerminal};
use std::net::TcpStream;
use std::path::{Path, PathBuf};
use std::process::Command;
Expand Down

0 comments on commit 5686399

Please sign in to comment.