diff --git a/CHANGELOG.md b/CHANGELOG.md index 097775e..010882a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ + +### v1.5.4 - 2021-11-27 +- fix compilation broken by patch release 1.0.49 of anyhow + ### v1.5.3 - 2021-07-13 - nothing new visible, small internal upgrades diff --git a/Cargo.lock b/Cargo.lock index a840ad5..814eb75 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -25,9 +25,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.42" +version = "1.0.49" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "595d3cfa7a60d4555cb5067b99f07142a08ea778de5cf993f7b75c7d8fabc486" +checksum = "0a03e93e97a28fbc9f42fbc5ba0886a3c67eb637b476dbee711f80a6ffe8223d" [[package]] name = "argh" @@ -305,14 +305,15 @@ dependencies = [ [[package]] name = "csv2svg" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1b29b8c39dc8a008d498bed2fa5a8ba779eee1d3f2c25fa25380fa109912ca3" +checksum = "a8e2619b51a7edc3570447c19b821b4f8e17b4e0ddab688582f6ceb2a83acf07" dependencies = [ "anyhow", "argh", "chrono", "cli-log 0.1.0", + "crossterm 0.19.0", "csv", "directories-next", "libc", @@ -416,9 +417,9 @@ dependencies = [ [[package]] name = "glassbench" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03f4871371c7f0624fc191afef849664776c4906614eee6a435a9abd89bd871f" +checksum = "18232f8d0a65b776d32b887f2aa3ab0230a761ea2c82e4739ae824ec5f2a27a9" dependencies = [ "base64", "chrono", @@ -896,7 +897,7 @@ dependencies = [ [[package]] name = "rhit" -version = "1.5.3" +version = "1.5.4" dependencies = [ "anyhow", "argh", diff --git a/Cargo.toml b/Cargo.toml index dc259bb..9063442 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rhit" -version = "1.5.3" +version = "1.5.4" authors = ["dystroy "] repository = "https://github.com/Canop/rhit" description = "nginx log analyzer" @@ -10,7 +10,7 @@ license = "MIT" categories = ["command-line-utilities"] [dependencies] -anyhow = "1.0" +anyhow = "1.0.49" argh = "0.1.3" bet = "0.4.0" crossterm = "0.20.0" @@ -28,7 +28,7 @@ termimad = { version = "0.14.0", default-features = false, features = ["special- thiserror = "1.0" [dev-dependencies] -glassbench = "0.3" +glassbench = "0.3.1" [profile.release] debug = false diff --git a/src/fields.rs b/src/fields.rs index 4833d6d..d0316d9 100644 --- a/src/fields.rs +++ b/src/fields.rs @@ -1,5 +1,5 @@ use { - anyhow::*, + anyhow::Result, argh::FromArgValue, }; diff --git a/src/nginx_log/file_reader.rs b/src/nginx_log/file_reader.rs index ec708bf..d1ca80d 100644 --- a/src/nginx_log/file_reader.rs +++ b/src/nginx_log/file_reader.rs @@ -1,6 +1,6 @@ use { crate::*, - anyhow::*, + anyhow::{bail, Result}, crossterm::{ self, cursor,