From e867e58ebd2febc66342f0337f08b75574b24e02 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Mon, 6 Jul 2020 12:57:47 +0800 Subject: termcolor spends 1200 lines on handlings buffers, and it's not liking plain io::Write Which means it doesn't like what's currently there. So let's go back to what can actually work: colored. --- Cargo.lock | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) (limited to 'Cargo.lock') diff --git a/Cargo.lock b/Cargo.lock index 68c0401..6ca456f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -86,17 +86,6 @@ dependencies = [ "bitflags", ] -[[package]] -name = "colored" -version = "1.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4ffc801dacf156c5854b9df4f425a626539c3a6ef7893cc0c5084a23f0b6c59" -dependencies = [ - "atty", - "lazy_static", - "winapi 0.3.9", -] - [[package]] name = "crossbeam" version = "0.7.3" @@ -230,7 +219,6 @@ dependencies = [ "anyhow", "atty", "byte-unit", - "colored", "crosstermion", "filesize", "flume", @@ -242,6 +230,7 @@ dependencies = [ "petgraph", "pretty_assertions", "structopt", + "termcolor", "termion", "tui", "tui-react 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -707,6 +696,15 @@ dependencies = [ "syn", ] +[[package]] +name = "termcolor" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb6bfa289a4d7c5766392812c0a1f4c1ba45afa1ad47803c11e1f407d846d75f" +dependencies = [ + "winapi-util", +] + [[package]] name = "termion" version = "1.5.5" @@ -824,6 +822,15 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" +[[package]] +name = "winapi-util" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" +dependencies = [ + "winapi 0.3.9", +] + [[package]] name = "winapi-x86_64-pc-windows-gnu" version = "0.4.0" -- cgit v1.2.3