diff --git a/Cargo.lock b/Cargo.lock index 3f659ae..081d066 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -12,10 +12,10 @@ dependencies = [ ] [[package]] -name = "ansi_term" -version = "0.12.1" +name = "ansiterm" +version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2" +checksum = "4ab587f5395da16dd2e6939adf53dede583221b320cadfb94e02b5b7b9bf24cc" dependencies = [ "winapi", ] @@ -82,7 +82,7 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" name = "cargo-count-next" version = "0.3.0" dependencies = [ - "ansi_term", + "ansiterm", "clap", "clippy", "gitignore", diff --git a/Cargo.toml b/Cargo.toml index f84c26f..b3fcf7f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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} diff --git a/src/fmt.rs b/src/fmt.rs index 3ba67a2..06d141a 100644 --- a/src/fmt.rs +++ b/src/fmt.rs @@ -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 { diff --git a/src/main.rs b/src/main.rs index 34119a2..c2aef50 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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;