From 09f12b9c4af10d5c638d7201c1b38018bdc9b4bd Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Tue, 29 Apr 2025 09:50:48 -0500 Subject: [PATCH] bump reedline to 75f2c50 (#15659) # Description This PR bumps reedline in nushell to the latest commit in the repo and thiserror because it wouldn't compile without it, so that we can do some quick testing to ensure there are no problems. # User-Facing Changes # Tests + Formatting # After Submitting --- Cargo.lock | 39 +++++++++++++++++------------------ Cargo.toml | 2 +- crates/nu-plugin/Cargo.toml | 4 ++-- crates/nu-protocol/Cargo.toml | 6 +++--- 4 files changed, 25 insertions(+), 26 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 186fe3a35d..05f28b0f30 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3880,7 +3880,7 @@ dependencies = [ "nu-protocol", "nu-utils", "serde", - "thiserror 2.0.6", + "thiserror 2.0.12", "typetag", ] @@ -3987,7 +3987,7 @@ dependencies = [ "strum", "strum_macros", "tempfile", - "thiserror 2.0.6", + "thiserror 2.0.12", "typetag", "web-time", "windows-sys 0.48.0", @@ -4677,7 +4677,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b7cafe60d6cf8e62e1b9b2ea516a089c008945bb5a275416789e7db0bc199dc" dependencies = [ "memchr", - "thiserror 2.0.6", + "thiserror 2.0.12", "ucd-trie", ] @@ -4992,7 +4992,7 @@ dependencies = [ "serde", "serde_json", "strum_macros", - "thiserror 2.0.6", + "thiserror 2.0.12", "version_check", "xxhash-rust", ] @@ -5008,7 +5008,7 @@ dependencies = [ "polars-arrow-format", "regex", "simdutf8", - "thiserror 2.0.6", + "thiserror 2.0.12", ] [[package]] @@ -5671,7 +5671,7 @@ dependencies = [ "rustc-hash 2.1.0", "rustls 0.23.20", "socket2", - "thiserror 2.0.6", + "thiserror 2.0.12", "tokio", "tracing", ] @@ -5690,7 +5690,7 @@ dependencies = [ "rustls 0.23.20", "rustls-pki-types", "slab", - "thiserror 2.0.6", + "thiserror 2.0.12", "tinyvec", "tracing", "web-time", @@ -5894,8 +5894,7 @@ dependencies = [ [[package]] name = "reedline" version = "0.39.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd4728ee71d2aa3a364ee64470d1aa64b3f0467b2d28b73df15259d005dec64a" +source = "git+https://github.com/nushell/reedline?branch=main#75f2c500d83cb09632d9069d42f75fd6e6693713" dependencies = [ "arboard", "chrono", @@ -5909,9 +5908,9 @@ dependencies = [ "strip-ansi-escapes", "strum", "strum_macros", - "thiserror 1.0.69", + "thiserror 2.0.12", "unicode-segmentation", - "unicode-width 0.1.11", + "unicode-width 0.2.0", ] [[package]] @@ -6035,7 +6034,7 @@ dependencies = [ "chumsky", "memchr", "quoted_printable", - "thiserror 2.0.6", + "thiserror 2.0.12", ] [[package]] @@ -7135,11 +7134,11 @@ dependencies = [ [[package]] name = "thiserror" -version = "2.0.6" +version = "2.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fec2a1820ebd077e2b90c4df007bebf344cd394098a13c563957d0afc83ea47" +checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708" dependencies = [ - "thiserror-impl 2.0.6", + "thiserror-impl 2.0.12", ] [[package]] @@ -7155,9 +7154,9 @@ dependencies = [ [[package]] name = "thiserror-impl" -version = "2.0.6" +version = "2.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d65750cab40f4ff1929fb1ba509e9914eb756131cef4210da8d5d700d26f6312" +checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d" dependencies = [ "proc-macro2", "quote", @@ -7711,7 +7710,7 @@ dependencies = [ "clap", "rand 0.9.0", "tempfile", - "thiserror 2.0.6", + "thiserror 2.0.12", "uucore", ] @@ -7725,7 +7724,7 @@ dependencies = [ "fs_extra", "indicatif", "libc", - "thiserror 2.0.6", + "thiserror 2.0.12", "uucore", "windows-sys 0.59.0", ] @@ -7740,7 +7739,7 @@ dependencies = [ "clap", "filetime", "parse_datetime", - "thiserror 2.0.6", + "thiserror 2.0.12", "uucore", "windows-sys 0.59.0", ] diff --git a/Cargo.toml b/Cargo.toml index adcad77a8b..31aa889995 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -323,7 +323,7 @@ bench = false # To use a development version of a dependency please use a global override here # changing versions in each sub-crate of the workspace is tedious [patch.crates-io] -# reedline = { git = "https://github.com/nushell/reedline", branch = "main" } +reedline = { git = "https://github.com/nushell/reedline", branch = "main" } # nu-ansi-term = {git = "https://github.com/nushell/nu-ansi-term.git", branch = "main"} # Run all benchmarks with `cargo bench` diff --git a/crates/nu-plugin/Cargo.toml b/crates/nu-plugin/Cargo.toml index 6f81e9b3f0..23536f2996 100644 --- a/crates/nu-plugin/Cargo.toml +++ b/crates/nu-plugin/Cargo.toml @@ -21,7 +21,7 @@ nu-plugin-core = { path = "../nu-plugin-core", version = "0.103.1", default-feat nu-utils = { path = "../nu-utils", version = "0.103.1" } log = { workspace = true } -thiserror = "2.0" +thiserror = "2.0.12" [dev-dependencies] serde = { workspace = true } @@ -33,4 +33,4 @@ local-socket = ["nu-plugin-core/local-socket"] [target.'cfg(target_family = "unix")'.dependencies] # For setting the process group ID (EnterForeground / LeaveForeground) -nix = { workspace = true, default-features = false, features = ["process"] } \ No newline at end of file +nix = { workspace = true, default-features = false, features = ["process"] } diff --git a/crates/nu-protocol/Cargo.toml b/crates/nu-protocol/Cargo.toml index e6f85a8558..392ca20e4b 100644 --- a/crates/nu-protocol/Cargo.toml +++ b/crates/nu-protocol/Cargo.toml @@ -24,21 +24,21 @@ nu-derive-value = { path = "../nu-derive-value", version = "0.103.1" } brotli = { workspace = true, optional = true } bytes = { workspace = true } -chrono = { workspace = true, features = [ "serde", "std", "unstable-locales" ], default-features = false } +chrono = { workspace = true, features = ["serde", "std", "unstable-locales"], default-features = false } chrono-humanize = { workspace = true } dirs = { workspace = true } fancy-regex = { workspace = true } heck = { workspace = true } indexmap = { workspace = true } lru = { workspace = true } -miette = { workspace = true, features = ["fancy-no-backtrace"]} +miette = { workspace = true, features = ["fancy-no-backtrace"] } num-format = { workspace = true } rmp-serde = { workspace = true, optional = true } serde = { workspace = true } serde_json = { workspace = true } strum = { workspace = true } strum_macros = { workspace = true } -thiserror = "2.0" +thiserror = "2.0.12" typetag = "0.2" os_pipe = { workspace = true, optional = true, features = ["io_safety"] } log = { workspace = true }