From e2147f30bff511b554f8462aad3992d079c2a9a5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 21 Jul 2026 01:42:13 +0000 Subject: [PATCH] chore(deps): update rust crate thiserror to v2 --- Cargo.lock | 43 +++++++++++++++++++++++++++++++++++++------ Cargo.toml | 2 +- 2 files changed, 38 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 78f8633..c746c1e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -259,7 +259,7 @@ dependencies = [ "starlark", "starlark_lsp", "starlark_syntax", - "thiserror", + "thiserror 2.0.19", "tonic", "tracing", "tracing-subscriber", @@ -1547,7 +1547,7 @@ checksum = "bd283d9651eeda4b2a83a43c1c91b266c40fd76ecd39a50a8c630ae69dc72891" dependencies = [ "getrandom", "libredox", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -1854,7 +1854,7 @@ dependencies = [ "static_assertions", "strsim 0.10.0", "textwrap", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -1884,7 +1884,7 @@ dependencies = [ "serde_json", "starlark", "starlark_syntax", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -1920,7 +1920,7 @@ dependencies = [ "num-traits", "once_cell", "starlark_map", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -1988,6 +1988,17 @@ dependencies = [ "unicode-ident", ] +[[package]] +name = "syn" +version = "3.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a207d6d6a2b7fc470b80443726053f18a2481b7e1eee970597051596567987a3" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + [[package]] name = "sync_wrapper" version = "1.0.2" @@ -2043,7 +2054,16 @@ version = "1.0.69" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" dependencies = [ - "thiserror-impl", + "thiserror-impl 1.0.69", +] + +[[package]] +name = "thiserror" +version = "2.0.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09a43598840e33d5b0331f38c5e30d13bb11c11210a4b58f0d9b18a5a5eefcd9" +dependencies = [ + "thiserror-impl 2.0.19", ] [[package]] @@ -2057,6 +2077,17 @@ dependencies = [ "syn 2.0.90", ] +[[package]] +name = "thiserror-impl" +version = "2.0.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43cbfe0cf76104d42a574802844187e84a305e531ed54455f11fbde0f10541cd" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.2", +] + [[package]] name = "thread_local" version = "1.1.8" diff --git a/Cargo.toml b/Cargo.toml index 61d0b65..f1f55c9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,7 +24,7 @@ serde_json = "1.0.111" starlark = { git = "https://github.com/facebook/starlark-rust.git", branch = "main" } starlark_lsp = { git = "https://github.com/facebook/starlark-rust.git", branch = "main" } starlark_syntax = { git = "https://github.com/facebook/starlark-rust.git", branch = "main" } -thiserror = "1.0.56" +thiserror = "2.0.0" tonic = "0.13.0" tracing = "0.1.41" tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }