diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-02-09 22:37:45 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-02-09 22:37:45 -0800 |
commit | efdc17248cbf8336f28c377a301752604fb6db74 (patch) | |
tree | c8700b54c39c4015600f7eedd41681fcf2e9d365 /Cargo.lock | |
parent | 86fee15a36758dde3e118a92469cc71c11ab50b4 (diff) | |
download | fatcat-cli-efdc17248cbf8336f28c377a301752604fb6db74.tar.gz fatcat-cli-efdc17248cbf8336f28c377a301752604fb6db74.zip |
add colored JSON output for some commands
Diffstat (limited to 'Cargo.lock')
-rw-r--r-- | Cargo.lock | 25 |
1 files changed, 24 insertions, 1 deletions
@@ -19,6 +19,15 @@ dependencies = [ ] [[package]] +name = "ansi_term" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2" +dependencies = [ + "winapi 0.3.8", +] + +[[package]] name = "antidote" version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -172,7 +181,7 @@ version = "2.33.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bdfa80d47f954d53a35a64987ca1422f495b8d6483c0fe9f7117b36c2a792129" dependencies = [ - "ansi_term", + "ansi_term 0.11.0", "atty", "bitflags", "strsim", @@ -182,6 +191,19 @@ dependencies = [ ] [[package]] +name = "colored_json" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fd32eb54d016e203b7c2600e3a7802c75843a92e38ccc4869aefeca21771a64" +dependencies = [ + "ansi_term 0.12.1", + "atty", + "libc", + "serde 1.0.123", + "serde_json 1.0.55", +] + +[[package]] name = "console" version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -278,6 +300,7 @@ dependencies = [ "assert_cmd", "atty", "chrono-humanize", + "colored_json", "data-encoding", "env_logger", "fatcat-openapi", |