Skip to content

Commit

Permalink
ansi_term -> ansiterm use maintained fork
Browse files Browse the repository at this point in the history
  • Loading branch information
TimTheBig committed May 24, 2024
1 parent e035ebf commit ccceaab
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ glob = "0.3"
tabwriter = "1.4"
regex = "1.10"
gitignore = "1.0"
ansi_term = {version = "0.12", optional = true}
ansiterm = {version = "0.12", optional = true}
clippy = {version = "0.0.302", optional = true}
4 changes: 2 additions & 2 deletions src/fmt.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@

#[cfg(all(feature = "color", not(target_os = "windows")))]
use ansi_term::ANSIString;
use ansiterm::ANSIString;

#[cfg(all(feature = "color", not(target_os = "windows")))]
use ansi_term::Colour::{Green, Red, Yellow};use std::fmt;
use ansiterm::Colour::{Green, Red, Yellow};use std::fmt;

#[allow(dead_code)]
pub enum Format<T> {
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@
#[macro_use]
extern crate clap;
#[cfg(feature = "color")]
extern crate ansi_term;
extern crate ansiterm;
extern crate tabwriter;
extern crate glob;
extern crate regex;
Expand Down

0 comments on commit ccceaab

Please sign in to comment.