Skip to content

Commit

Permalink
feat: provide miette-powered error diagnostics
Browse files Browse the repository at this point in the history
While we're at it, refactor the code into more reasonable functions.

Signed-off-by: Luke Hsiao <[email protected]>
  • Loading branch information
lukehsiao committed Aug 11, 2023
1 parent edd4cb1 commit 87eaa31
Show file tree
Hide file tree
Showing 4 changed files with 284 additions and 136 deletions.
117 changes: 116 additions & 1 deletion Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ clap-verbosity-flag = "2.0.1"
html-escape = "0.2.13"
indicatif = { version = "0.17.6", features = ["rayon"] }
log = "0.4.19"
miette = { version = "5.10.0", features = ["fancy"] }
rayon = "1.7.0"
serde = { version = "1.0.183", features = ["derive"] }
serde_json = "1.0.104"
Expand Down
Loading

0 comments on commit 87eaa31

Please sign in to comment.