From 1fcaf07b4c41a8797b384dd10edaada4b2f6889c Mon Sep 17 00:00:00 2001 From: Kevin Ji <1146876+kevinji@users.noreply.github.com> Date: Thu, 4 Apr 2024 14:59:17 -0700 Subject: [PATCH] pcli: bump colored_json to 4.1 (#4159) ## Describe your changes Bump the version of colored_json used by pcli to 4.1. ## Issue ticket number and link ## Checklist before requesting a review - [x] If this code contains consensus-breaking changes, I have added the "consensus-breaking" label. Otherwise, I declare my belief that there are not consensus-breaking changes, for the following reason: > This is a dependency upgrade that mainly just removes subdependencies and bumps the edition to 2021. --- Cargo.lock | 14 +++++++++----- crates/bin/pcli/Cargo.toml | 2 +- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b65a4d8260..5f2b44fcfc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1440,15 +1440,13 @@ dependencies = [ [[package]] name = "colored_json" -version = "2.1.0" +version = "4.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fd32eb54d016e203b7c2600e3a7802c75843a92e38ccc4869aefeca21771a64" +checksum = "79cff32df5cfea75e6484eeff0b4e48ad3977fb6582676a7862b3590dddc7a87" dependencies = [ - "ansi_term", - "atty", - "libc", "serde", "serde_json", + "yansi", ] [[package]] @@ -9026,6 +9024,12 @@ dependencies = [ "rustix 0.38.31", ] +[[package]] +name = "yansi" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec" + [[package]] name = "yasna" version = "0.5.2" diff --git a/crates/bin/pcli/Cargo.toml b/crates/bin/pcli/Cargo.toml index 6639a4254f..415ac3f041 100644 --- a/crates/bin/pcli/Cargo.toml +++ b/crates/bin/pcli/Cargo.toml @@ -40,7 +40,7 @@ bytes = {workspace = true} camino = {workspace = true} clap = {workspace = true, features = ["derive", "env"]} colored = "2.1.0" -colored_json = "2.1" +colored_json = "4.1" comfy-table = "5" decaf377 = {workspace = true, default-features = true} decaf377-rdsa = {workspace = true}