Skip to content

Commit aa2c8ac

Browse files
committed
version 1.7.2
Fix #22
1 parent cfca7b4 commit aa2c8ac

6 files changed

Lines changed: 184 additions & 101 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
<a name="v1.7.2"></a>
2+
### v1.7.2 - 2023-04-23
3+
- dependency managment - Fix #22
4+
15
<a name="v1.7.1"></a>
26
### v1.7.1 - 2022-06-05
37
- mostly dependency updates and compilation fixes

Cargo.lock

Lines changed: 57 additions & 51 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rhit"
3-
version = "1.7.1"
3+
version = "1.7.2"
44
authors = ["dystroy <denys.seguret@gmail.com>"]
55
repository = "https://github.com/Canop/rhit"
66
description = "nginx log analyzer"
@@ -12,19 +12,18 @@ rust-version = "1.60"
1212

1313
[dependencies]
1414
anyhow = "1.0.49"
15-
argh = "0.1.3"
15+
argh = "0.1.10"
1616
bet = "1.0"
1717
cli-log = "2.0"
18-
crossterm = "0.23.2"
1918
file-size = "1.0.3"
20-
flate2 = "1.0"
19+
flate2 = "1.0.25"
2120
have = "0.1.1"
2221
itertools = "0.10"
23-
lazy-regex = "2.2.2"
22+
lazy-regex = "2.5"
2423
num-format = "0.4"
25-
regex = "1.5.6"
26-
smallvec = "1.6"
27-
termimad = { version = "0.20.2", default-features = false, features = ["special-renders"] }
24+
regex = "1.7"
25+
smallvec = "1.10"
26+
termimad = { version = "0.22.0", default-features = false, features = ["special-renders"] }
2827
thiserror = "1.0"
2928

3029
[dev-dependencies]

bacon.toml

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# This is a configuration file for the bacon tool
2+
#
3+
# Bacon repository: https://github.com/Canop/bacon
4+
# Complete help on configuration: https://dystroy.org/bacon/config/
5+
# You can also check bacon's own bacon.toml file
6+
# as an example: https://github.com/Canop/bacon/blob/main/bacon.toml
7+
8+
default_job = "check"
9+
10+
[jobs.check]
11+
command = ["cargo", "check", "--color", "always"]
12+
need_stdout = false
13+
14+
[jobs.check-all]
15+
command = ["cargo", "check", "--all-targets", "--color", "always"]
16+
need_stdout = false
17+
18+
[jobs.clippy]
19+
command = [
20+
"cargo", "clippy",
21+
"--all-targets",
22+
"--color", "always",
23+
"--",
24+
"-A", "clippy::manual_range_contains",
25+
"-A", "clippy::match_like_matches_macro",
26+
"-A", "clippy::manual_clamp",
27+
]
28+
need_stdout = false
29+
30+
[jobs.test]
31+
command = [
32+
"cargo", "test", "--color", "always",
33+
"--", "--color", "always", # see https://github.com/Canop/bacon/issues/124
34+
]
35+
need_stdout = true
36+
37+
[jobs.doc]
38+
command = ["cargo", "doc", "--color", "always", "--no-deps"]
39+
need_stdout = false
40+
41+
# If the doc compiles, then it opens in your browser and bacon switches
42+
# to the previous job
43+
[jobs.doc-open]
44+
command = ["cargo", "doc", "--color", "always", "--no-deps", "--open"]
45+
need_stdout = false
46+
on_success = "back" # so that we don't open the browser at each change
47+
48+
# You can run your application and have the result displayed in bacon,
49+
# *if* it makes sense for this crate. You can run an example the same
50+
# way. Don't forget the `--color always` part or the errors won't be
51+
# properly parsed.
52+
[jobs.run]
53+
command = [
54+
"cargo", "run",
55+
"--color", "always",
56+
# put launch parameters for your program behind a `--` separator
57+
]
58+
need_stdout = true
59+
allow_warnings = true
60+
61+
# You may define here keybindings that would be specific to
62+
# a project, for example a shortcut to launch a specific job.
63+
# Shortcuts to internal functions (scrolling, toggling, etc.)
64+
# should go in your personal global prefs.toml file instead.
65+
[keybindings]
66+
# alt-m = "job:my-job"

0 commit comments

Comments
 (0)