update proc_macro_error to 3 and other dependencies (#18945)

<!--
Thanks for contributing to Nushell!

Before submitting, please read the contributing guide:
https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md

This template helps reviewers understand your changes and allows us to
generate high-quality release notes.
-->

## Description
This PR updates proc-macro-error to 3 and some other deps
<!--
Explain what this PR does and why.

This section is intentionally flexible:
- Describe the problem
- Explain your approach
- Include technical details if relevant

Good examples:
- "In this PR, I fixed..."
- "In this PR, I added support for..."
- "This change improves X by..."

Write as much or as little as needed for reviewers to understand your
changes.
-->

## User-facing changes (Release notes)
<!--
This section is used (mostly as-is) for https://www.nushell.sh/blog/

Describe how Nushell behavior changes from a user's perspective.
Do NOT describe internal Rust changes here.

Write in a release note style, for example:
- "Added support for..."
- "Fixed an issue where..."
- "Nushell now supports..."
- "Improved performance of..."

If your changes do NOT affect users (internal refactors, cleanup, etc.),
just write:
- "n/a"
- "nan"
- or similar

This tells us the change should not appear in the changelog.

Tips:
- Focus on observable behavior
- Include examples if helpful
- Keep it concise

You can:
- Write a short paragraph (will appear as a bullet point), OR
- Use headings (###) if your change needs more structure

Avoid writing things like:
- "In this PR, I refactored..."
- "This updates internal code..."

You may leave this blank until the PR is ready.
-->

## Additional notes
closes https://github.com/nushell/nushell/issues/18384
<!--
Optional.

Examples:
- fixes #123
- closes #456
- related #789

Anything else reviewers should know.
Remove this section if not needed.
-->
This commit is contained in:
Darren Schroeder
2026-08-31 11:29:23 -05:00
committed by GitHub
parent f8b4a15a4a
commit ea229dd2f6
6 changed files with 352 additions and 347 deletions
Generated
+307 -301
View File
File diff suppressed because it is too large Load Diff
+40 -40
View File
@@ -133,34 +133,34 @@ nu_plugin_stress_internals = { path = "crates/nu_plugin_stress_internals", versi
nuon = { path = "crates/nuon", version = "0.115.2", default-features = false }
aegis-password-generator = "0.1.1"
alphanumeric-sort = "1.5"
alphanumeric-sort = "1.5.8"
ansi-str = "0.9"
anyhow = "1.0.102"
base64 = "0.23.0"
anyhow = "1.0.104"
base64 = "0.23.1"
better_default = "1.0.5"
bracoxide = "0.1.8"
brotli = "8.0"
bstr = "1.12.1"
brotli = "8.0.4"
bstr = "1.13.1"
byteorder = "1.5"
bytes = "1"
bytes = "1.12.1"
bytesize = "2.3.1"
byteyarn = "0.5"
calamine = "0.36"
calamine = "0.36.1"
chardetng = "1.0.0"
chrono = { default-features = false, version = "0.4.42" }
chrono = { default-features = false, version = "0.4.45" }
chrono-humanize = "0.2.3"
chrono-tz = "0.10"
crossbeam-channel = "0.5.15"
crossterm = "0.29.0"
csv = "1.4"
ctrlc = "3.5"
ctrlc = "3.5.2"
derive_more = "2.1.1"
derive_setters = "0.1.9"
devicons = "0.6.13"
digest = { default-features = false, version = "0.11.3" }
dirs = "6.0"
dirs-sys = "0.5"
dns-lookup = "3.0.1"
dns-lookup = "4.0.1"
dtparse = "2.0"
encoding_rs = "0.8"
fancy-regex = "0.19"
@@ -170,35 +170,35 @@ fff-search = { version = "=0.10.3", default-features = false, features = ["ripgr
fluent = "0.17.0"
gatekeeper = "3.0.0"
heck = "0.5.0"
http = "1.4.0"
http = "1.5.0"
human-date-parser = "0.3.1"
humantime = "2.3.0"
indexmap = "2.14.0"
indicatif = "0.18.4"
indexmap = "2.14.1"
indicatif = "0.18.6"
indoc = "2"
interprocess = "2.4.2"
is_executable = "1.0.5"
interprocess = "2.4.3"
is_executable = "1.0.6"
itertools = "0.15"
kitest = "0.6.0"
lean_string = { version = "0.7.0", features = ["serde"] }
lexopt = "0.3.2"
libc = "0.2.185"
libproc = "0.14.11"
log = "0.4"
lru = "0.18.0"
log = "0.4.34"
lru = "0.18.3"
lscolors = { version = "0.21", default-features = false }
lsp-server = "0.10.0"
lsp-types = { version = "0.97.0", features = ["proposed"] }
lsp-textdocument = "0.5.0"
linkme = "0.3.36"
mach2 = "0.6"
linkme = "0.3.37"
mach2 = "0.7.0"
md5 = { version = "0.11.0", package = "md-5" }
miette = "7.6"
mime = "0.3.17"
mime_guess = "2.0"
mq-markdown = "0.8.1"
mq-markdown = "0.8.4"
mockito = { version = "1.7.2", default-features = false }
multipart-rs = "0.2.2"
multipart-rs = "0.2.3"
native-tls = "0.2.18"
nix = { version = "0.31.3", default-features = false }
notify-debouncer-full = { version = "0.7.0", default-features = false }
@@ -208,7 +208,7 @@ num-format = "0.4"
num-traits = "0.2"
oem_cp = "2.1.2"
omnipath = "0.1"
open = "5.3.4"
open = "5.4.2"
os_pipe = { version = "1.2.3", features = ["io_safety"] }
parking_lot = "0.12.5"
pastey = "0.2.3"
@@ -216,19 +216,19 @@ pathdiff = "0.2"
percent-encoding = "2"
pretty_assertions = { version = "1.4", features = ["unstable"] }
print-positions = "0.6"
proc-macro-error2 = "2.0"
proc-macro2 = "1.0"
proc-macro-error3 = "3.1.1"
proc-macro2 = "1.0.107"
procfs = "0.18.0"
pure-rust-locales = "0.8"
pwd = "1.4"
quick-xml = "0.41.0"
quickcheck = "1.1"
quickcheck_macros = "1.2"
quote = "1.0.45"
rand = "0.10"
quote = "1.0.47"
rand = "0.10.2"
getrandom = "0.4.2" # pick same version that rand requires
rand_chacha = "0.10"
ratatui = { version = "0.30", default-features = false, features = [
ratatui = { version = "0.30.2", default-features = false, features = [
"all-widgets",
"crossterm",
"layout-cache",
@@ -243,17 +243,17 @@ rmp-serde = "1.3.1"
roxmltree = "0.21.1"
rstest = { version = "0.26.1", default-features = false }
rstest_reuse = "0.7"
rusqlite = "0.40.1"
rusqlite = "0.40.2"
# We have to semi-fix rustls and ureq versions
# because we use unversioned api to allow users set up their own
# crypto providers (grep for "unversioned").
# Patch updates are allowed though.
rustls = { version = "~0.23.38", default-features = false, features = ["std", "tls12"] }
rustls-native-certs = "0.8"
serde-saphyr = "1.0.0"
rustls-native-certs = "0.8.4"
serde-saphyr = "1.2.0"
scopeguard = { version = "1.2.0" }
ndarray = { version = "0.17", features = ["serde", "approx", "rayon", "matrixmultiply-threading"] }
semver = "1.0"
semver = "1.0.28"
serde = { version = "1.0" }
serde_json = "1.0.149"
serde_urlencoded = "0.7.1"
@@ -261,15 +261,15 @@ sha2 = "0.11.0"
strip-ansi-escapes = "0.2.1"
strum = { version = "0.28.0", features = ["derive"] }
strum_macros = "0.28.0"
syn = "3.0.2"
sysinfo = "0.39.3"
syn = "3.0.4"
sysinfo = "0.39.6"
tabled = { version = "0.21", default-features = false }
tempfile = "3.27"
thiserror = "2.0.19"
thiserror = "2.0.20"
titlecase = "3.6"
tokio = { version = "1.53.1" }
toml = "1.1.2"
toml_edit = "0.25.11"
toml = "1.1.4"
toml_edit = "0.25.13"
kdl = { version = "6.7.1", features = ["v1"] }
trash = "=5.2.6"
update-informer = { version = "1.3.0", default-features = false, features = ["github", "ureq"] }
@@ -286,17 +286,17 @@ uu_touch = "0.10.0"
uu_whoami = "0.10.0"
uu_uname = "0.10.0"
uucore = "0.10.0"
uuid = "1.23.1"
uuid = "1.26.0"
v_htmlescape = "0.17.0"
memchr = "2.8.0"
wax = "0.7.0"
web-time = "1.1.0"
webpki-roots = "1.0.7"
which = "8.0.2"
webpki-roots = "1.0.9"
which = "8.0.6"
win_uds = "=0.2.4"
windows = "0.62.2"
windows-sys = "0.61.2"
winnow = "1.0"
winnow = "1.0.4"
winreg = "0.56"
[workspace.lints.rust]
+1 -1
View File
@@ -18,5 +18,5 @@ workspace = true
proc-macro2 = { workspace = true }
syn = { workspace = true }
quote = { workspace = true }
proc-macro-error2 = { workspace = true }
proc-macro-error3 = { workspace = true }
heck = { workspace = true }
+2 -3
View File
@@ -1,7 +1,6 @@
use std::{any, fmt::Debug, marker::PhantomData};
use proc_macro_error2::{Diagnostic, Level};
use proc_macro_error3::{Diagnostic, Level};
use proc_macro2::Span;
use std::{any, fmt::Debug, marker::PhantomData};
#[derive(Debug)]
pub enum DeriveError<M> {
+1 -1
View File
@@ -28,7 +28,7 @@
//! but ensures that no other code may influence this generated code or vice versa.
use proc_macro::TokenStream;
use proc_macro_error2::{Diagnostic, proc_macro_error};
use proc_macro_error3::{Diagnostic, proc_macro_error};
use proc_macro2::TokenStream as TokenStream2;
mod attributes;
+1 -1
View File
@@ -15,7 +15,7 @@ proc-macro = true
nu-experimental.workspace = true
heck = { workspace = true }
proc-macro-error2 = { workspace = true }
proc-macro-error3 = { workspace = true }
proc-macro2 = { workspace = true }
quote = { workspace = true }
syn = { workspace = true, features = ["full"] }