diff --git a/Cargo.lock b/Cargo.lock index 9674caaf17..87a2a7a054 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -12,15 +12,6 @@ dependencies = [ "regex", ] -[[package]] -name = "addr2line" -version = "0.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9ecd88a8c8378ca913a680cd98f0f13ac67383d35993f86c90a70e3f137816b" -dependencies = [ - "gimli", -] - [[package]] name = "adler" version = "1.0.2" @@ -241,21 +232,6 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" -[[package]] -name = "backtrace" -version = "0.3.66" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cab84319d616cfb654d03394f38ab7e6f0919e181b1b57e1fd15e7fb4077d9a7" -dependencies = [ - "addr2line", - "cc", - "cfg-if 1.0.0", - "libc", - "miniz_oxide", - "object", - "rustc-demangle", -] - [[package]] name = "bare-metal" version = "0.2.5" @@ -1485,12 +1461,6 @@ dependencies = [ "syn", ] -[[package]] -name = "gimli" -version = "0.26.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22030e2c5a68ec659fde1e949a745124b48e6fa8b045b7ed5bd1fe4ccc5c4e5d" - [[package]] name = "git2" version = "0.15.0" @@ -2262,18 +2232,6 @@ dependencies = [ "nom 1.2.4", ] -[[package]] -name = "miette" -version = "4.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c90329e44f9208b55f45711f9558cec15d7ef8295cc65ecd6d4188ae8edc58c" -dependencies = [ - "miette-derive 4.7.1", - "once_cell", - "thiserror", - "unicode-width", -] - [[package]] name = "miette" version = "5.3.0" @@ -2281,8 +2239,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a28d6092d7e94a90bb9ea8e6c26c99d5d112d49dda2afdb4f7ea8cf09e1a5a6d" dependencies = [ "atty", - "backtrace", - "miette-derive 5.3.0", + "miette-derive", "once_cell", "owo-colors", "supports-color", @@ -2294,17 +2251,6 @@ dependencies = [ "unicode-width", ] -[[package]] -name = "miette-derive" -version = "4.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b5bc45b761bcf1b5e6e6c4128cd93b84c218721a8d9b894aa0aff4ed180174c" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - [[package]] name = "miette-derive" version = "5.3.0" @@ -2570,7 +2516,7 @@ dependencies = [ "is_executable", "itertools", "log", - "miette 5.3.0", + "miette", "nix 0.24.2", "nu-ansi-term", "nu-cli", @@ -2623,7 +2569,7 @@ dependencies = [ "is_executable", "lazy_static", "log", - "miette 5.3.0", + "miette", "nu-ansi-term", "nu-color-config", "nu-command", @@ -2790,7 +2736,7 @@ dependencies = [ "chrono", "itertools", "log", - "miette 5.3.0", + "miette", "nu-engine", "nu-path", "nu-plugin", @@ -2842,7 +2788,7 @@ dependencies = [ "chrono-humanize", "fancy-regex", "indexmap", - "miette 5.3.0", + "miette", "nu-json", "nu-path", "nu-utils", @@ -3131,15 +3077,6 @@ dependencies = [ "malloc_buf", ] -[[package]] -name = "object" -version = "0.29.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21158b2c33aa6d4561f1c0a6ea283ca92bc54802a93b263e910746d679a7eb53" -dependencies = [ - "memchr", -] - [[package]] name = "omnipath" version = "0.1.1" @@ -4309,12 +4246,6 @@ dependencies = [ "num-traits", ] -[[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" @@ -5452,12 +5383,6 @@ version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" -[[package]] -name = "vec1" -version = "1.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fc1631c774f0f9570797191e01247cbefde789eebfbf128074cb934115a6133" - [[package]] name = "version_check" version = "0.9.4" @@ -5623,14 +5548,12 @@ dependencies = [ "bstr", "const_format", "itertools", - "miette 4.7.1", "nom 7.1.1", "nom-supreme", "pori", "regex", "smallvec", "thiserror", - "vec1", "walkdir", ] diff --git a/Cargo.toml b/Cargo.toml index 304c9cd55f..bec98450df 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,7 +36,7 @@ chrono = { version = "0.4.21", features = ["serde"] } crossterm = "0.24.0" ctrlc = "3.2.1" log = "0.4" -miette = "5.1.0" +miette = { version = "5.1.0", features = ["fancy-no-backtrace"] } nu-ansi-term = "0.46.0" nu-cli = { path="./crates/nu-cli", version = "0.70.1" } nu-color-config = { path = "./crates/nu-color-config", version = "0.70.1" } diff --git a/crates/nu-cli/Cargo.toml b/crates/nu-cli/Cargo.toml index 94631f80bb..ecf6439b39 100644 --- a/crates/nu-cli/Cargo.toml +++ b/crates/nu-cli/Cargo.toml @@ -30,7 +30,7 @@ fuzzy-matcher = "0.3.7" is_executable = "1.0.1" lazy_static = "1.4.0" log = "0.4" -miette = { version = "5.1.0", features = ["fancy"] } +miette = { version = "5.1.0", features = ["fancy-no-backtrace"] } percent-encoding = "2" strip-ansi-escapes = "0.1.1" sysinfo = "0.26.2" diff --git a/crates/nu-command/Cargo.toml b/crates/nu-command/Cargo.toml index fbc4ece19c..f400018404 100644 --- a/crates/nu-command/Cargo.toml +++ b/crates/nu-command/Cargo.toml @@ -89,7 +89,7 @@ url = "2.2.1" uuid = { version = "1.1.2", features = ["v4"] } which = { version = "4.3.0", optional = true } reedline = { version = "0.13.0", features = ["bashisms", "sqlite"]} -wax = { version = "0.5.0", features = ["diagnostics"] } +wax = { version = "0.5.0" } rusqlite = { version = "0.28.0", features = ["bundled"], optional = true } sqlparser = { version = "0.23.0", features = ["serde"], optional = true } diff --git a/crates/nu-parser/Cargo.toml b/crates/nu-parser/Cargo.toml index b5fbe8ae3c..e92e57c0ee 100644 --- a/crates/nu-parser/Cargo.toml +++ b/crates/nu-parser/Cargo.toml @@ -11,7 +11,7 @@ version = "0.70.1" bytesize = "1.1.0" chrono = "0.4.21" itertools = "0.10" -miette = "5.1.0" +miette = {version = "5.1.0", features = ["fancy-no-backtrace"]} thiserror = "1.0.31" serde_json = "1.0" nu-path = {path = "../nu-path", version = "0.70.1" } diff --git a/crates/nu-protocol/Cargo.toml b/crates/nu-protocol/Cargo.toml index 8e2c6d4b9e..ad20e8a47d 100644 --- a/crates/nu-protocol/Cargo.toml +++ b/crates/nu-protocol/Cargo.toml @@ -19,7 +19,7 @@ chrono = { version="0.4.21", features=["serde"] } chrono-humanize = "0.2.1" fancy-regex = "0.10.0" indexmap = { version="1.7", features=["serde-1"] } -miette = { version = "5.1.0", features = ["fancy"] } +miette = { version = "5.1.0", features = ["fancy-no-backtrace"] } num-format = "0.4.3" serde = {version = "1.0.130", features = ["derive"]} serde_json = { version = "1.0", optional = true }