Skip to content

Commit

Permalink
better table fitting algorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
Canop committed Dec 25, 2021
1 parent 5b32567 commit fc522a5
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 23 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<a name="v1.6.0"></a>
### v1.6.0 - 2021-12-25
- better table fitting algorithm, less frequently breaking the histogram columns

<a name="v1.5.5"></a>
### v1.5.5 - 2021-12-21
- don't write an error when no log line matches the query
Expand Down
53 changes: 36 additions & 17 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rhit"
version = "1.5.5"
version = "1.6.0"
authors = ["dystroy <[email protected]>"]
repository = "https://github.com/Canop/rhit"
description = "nginx log analyzer"
Expand All @@ -13,18 +13,17 @@ categories = ["command-line-utilities"]
anyhow = "1.0.49"
argh = "0.1.3"
bet = "0.4.0"
crossterm = "0.20.0"
crossterm = "0.22.1"
cli-log = "2.0"
file-size = "1.0.3"
flate2 = "1.0"
have = "0.1.1"
itertools = "0.10"
lazy-regex = "2.2"
minimad = "0.8.0"
num-format = "0.4"
regex = "1.5"
smallvec = "1.6"
termimad = { version = "0.14.0", default-features = false, features = ["special-renders"] }
termimad = { version = "0.20.0", default-features = false, features = ["special-renders"] }
thiserror = "1.0"

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/md/status.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use {
super::*,
crate::*,
minimad::OwningTemplateExpander,
termimad::minimad::OwningTemplateExpander,
};

static MD_SHORT: &str = r#"
Expand Down
2 changes: 1 addition & 1 deletion src/md/summary.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use {
super::*,
crate::*,
minimad::OwningTemplateExpander,
termimad::minimad::OwningTemplateExpander,
};

static SUMMARY_MD: &str = r#"
Expand Down

0 comments on commit fc522a5

Please sign in to comment.