mirror of
https://github.com/danbulant/oxc
synced 2026-05-21 13:18:59 +00:00
chore: use fancy-no-backtrace from miette
See https://github.com/zkat/miette/issues/132
This commit is contained in:
parent
7d3ce8b125
commit
94fddffc70
6 changed files with 5 additions and 51 deletions
46
Cargo.lock
generated
46
Cargo.lock
generated
|
|
@ -2,15 +2,6 @@
|
|||
# It is not intended for manual editing.
|
||||
version = 3
|
||||
|
||||
[[package]]
|
||||
name = "addr2line"
|
||||
version = "0.19.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "a76fd60b23679b7d19bd066031410fb7e458ccc5e958eb5c325888ce4baedc97"
|
||||
dependencies = [
|
||||
"gimli",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "adler"
|
||||
version = "1.0.2"
|
||||
|
|
@ -60,21 +51,6 @@ version = "1.1.0"
|
|||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
|
||||
|
||||
[[package]]
|
||||
name = "backtrace"
|
||||
version = "0.3.67"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "233d376d6d185f2a3093e58f283f60f880315b6c60075b01f36b3b85154564ca"
|
||||
dependencies = [
|
||||
"addr2line",
|
||||
"cc",
|
||||
"cfg-if",
|
||||
"libc",
|
||||
"miniz_oxide",
|
||||
"object",
|
||||
"rustc-demangle",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "base64"
|
||||
version = "0.13.1"
|
||||
|
|
@ -407,12 +383,6 @@ dependencies = [
|
|||
"wasi",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "gimli"
|
||||
version = "0.27.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "ad0a93d233ebf96623465aad4046a8d3aa4da22d4f4beba5388838c8a434bbb4"
|
||||
|
||||
[[package]]
|
||||
name = "glob"
|
||||
version = "0.3.1"
|
||||
|
|
@ -666,7 +636,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||
checksum = "4afd9b301defa984bbdbe112b4763e093ed191750a0d914a78c1106b2d0fe703"
|
||||
dependencies = [
|
||||
"atty",
|
||||
"backtrace",
|
||||
"miette-derive",
|
||||
"once_cell",
|
||||
"owo-colors",
|
||||
|
|
@ -748,15 +717,6 @@ dependencies = [
|
|||
"libc",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "object"
|
||||
version = "0.30.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "ea86265d3d3dcb6a27fc51bd29a4bf387fae9d2986b823079d4986af253eb439"
|
||||
dependencies = [
|
||||
"memchr",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "once_cell"
|
||||
version = "1.17.1"
|
||||
|
|
@ -1026,12 +986,6 @@ dependencies = [
|
|||
"winapi",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "rustc-demangle"
|
||||
version = "0.1.21"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342"
|
||||
|
||||
[[package]]
|
||||
name = "rustc-hash"
|
||||
version = "1.1.0"
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ oxc_linter = { path = "../oxc_linter" }
|
|||
clap = { workspace = true }
|
||||
glob = { workspace = true }
|
||||
rayon = { workspace = true }
|
||||
miette = { workspace = true, features = ["fancy"] }
|
||||
miette = { workspace = true, features = ["fancy-no-backtrace"] }
|
||||
|
||||
ignore = { version = "0.4.20", features = ["simd-accel"] }
|
||||
# git2 = { version = "0.16.1", default_features = false }
|
||||
|
|
|
|||
|
|
@ -22,4 +22,4 @@ serde_json = { workspace = true }
|
|||
oxc_allocator = { path = "../oxc_allocator" }
|
||||
oxc_parser = { path = "../oxc_parser" }
|
||||
insta = { version = "1.14.0", features = ["glob"] }
|
||||
miette = { workspace = true, features = ["fancy"] }
|
||||
miette = { workspace = true, features = ["fancy-no-backtrace"] }
|
||||
|
|
|
|||
|
|
@ -21,6 +21,6 @@ unicode-id-start = "1.0.3"
|
|||
num-bigint = "0.4.3"
|
||||
|
||||
[dev-dependencies]
|
||||
miette = { workspace = true, features = ["fancy"] }
|
||||
miette = { workspace = true, features = ["fancy-no-backtrace"] }
|
||||
oxc_ast = { path = "../oxc_ast", features = ["serde_json"] }
|
||||
serde_json = { workspace = true }
|
||||
|
|
|
|||
|
|
@ -15,4 +15,4 @@ oxc_ast = { path = "../oxc_ast" }
|
|||
|
||||
[dev_dependencies]
|
||||
oxc_parser = { path = "../oxc_parser" }
|
||||
miette = { workspace = true, features = ["fancy"] }
|
||||
miette = { workspace = true, features = ["fancy-no-backtrace"] }
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ oxc_diagnostics = { path = "../../crates/oxc_diagnostics" }
|
|||
serde = { workspace = true, features = ["derive"] }
|
||||
serde_json = { workspace = true }
|
||||
rayon = { workspace = true }
|
||||
miette = { workspace = true, features = ["fancy"] }
|
||||
miette = { workspace = true, features = ["fancy-no-backtrace"] }
|
||||
|
||||
console = "0.15.5"
|
||||
encoding_rs = "0.8.32"
|
||||
|
|
|
|||
Loading…
Reference in a new issue