use miette's new panic hook

This commit is contained in:
Kat Marchán
2021-09-21 12:37:16 -07:00
parent 923330aadd
commit 32f39c2fb8
6 changed files with 80 additions and 6 deletions

View File

@ -7,7 +7,8 @@ edition = "2018"
nu-engine = { path = "../nu-engine" }
nu-parser = { path = "../nu-parser" }
nu-protocol = { path = "../nu-protocol" }
miette = { git = "https://github.com/zkat/miette", branch = "release/3.0.0", features = ["fancy"] }
miette = { git = "https://github.com/zkat/miette", rev = "183ecb9", features = ["fancy"] }
# miette = { path = "../../../miette", features = ["fancy"] }
thiserror = "1.0.29"
nu-ansi-term = "0.36.0"
reedline = { git = "https://github.com/jntrnr/reedline", branch = "main" }

View File

@ -4,6 +4,7 @@ version = "0.1.0"
edition = "2018"
[dependencies]
miette = { git = "https://github.com/zkat/miette", branch = "release/3.0.0" }
miette = { git = "https://github.com/zkat/miette", rev = "183ecb9" }
# miette = { path = "../../../miette" }
thiserror = "1.0.29"
nu-protocol = { path = "../nu-protocol"}

View File

@ -7,4 +7,5 @@ edition = "2018"
[dependencies]
thiserror = "1.0.29"
miette = { git = "https://github.com/zkat/miette", branch = "release/3.0.0" }
miette = { git = "https://github.com/zkat/miette", rev = "183ecb9" }
# miette = { path = "../../../miette" }