Skip to content

Commit 1706cdb

Browse files
committed
[api] split up do_mappings() into something more fine-grained
Interactive use, like in lnav, will require fine-grained control of the operations done in `do_mappings()`. This change adds a LogMatcher with associated functions that perform the different steps that were in `do_mappings()`.
1 parent d5b2565 commit 1706cdb

14 files changed

+690
-410
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@ indicatif = "0.18.0"
1111
regex = "1.11.1"
1212
serde = { version = "1.0.219", features = ["derive"] }
1313
serde_json = "1.0.140"
14+
thiserror = "2.0.16"
1415
tree-sitter = "0.25.3"
1516
tree-sitter-cpp = "0.23.4"
1617
tree-sitter-rust-orchard = "0.12.0"
1718
tree-sitter-java = "0.23.5"
1819
rayon = "1.11.0"
20+
miette = { version = "7.6.0", features = ["fancy"] }
1921

2022
[build-dependencies]
2123
cc="*"

0 commit comments

Comments
 (0)