From 3517f9d9ff69eebae14e32a3b1550bd920ea3238 Mon Sep 17 00:00:00 2001 From: Guillaume Pasquet Date: Thu, 24 Feb 2022 23:39:33 +0000 Subject: Fix #5: Add JSON syntax coloring --- Cargo.lock | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'Cargo.lock') diff --git a/Cargo.lock b/Cargo.lock index 2bcbd21..74a3555 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -40,6 +40,7 @@ version = "0.1.5" dependencies = [ "clap 3.0.14", "colored", + "colored_json", "jq-rs", "jsonformat", "serde", @@ -139,6 +140,19 @@ dependencies = [ "winapi", ] +[[package]] +name = "colored_json" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fd32eb54d016e203b7c2600e3a7802c75843a92e38ccc4869aefeca21771a64" +dependencies = [ + "ansi_term", + "atty", + "libc", + "serde", + "serde_json", +] + [[package]] name = "crc32fast" version = "1.3.2" -- cgit v1.2.3