From b4fb0aa0c79aa409d1b6a5f43ab23448eede4e51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Wed, 23 Jul 2025 17:19:39 +0400 Subject: [PATCH] build(deps): bump thiserror to 2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc-André Lureau --- Cargo.lock | 4 ++-- crates/ironrdp-pdu/Cargo.toml | 2 +- ffi/Cargo.toml | 2 +- fuzz/Cargo.lock | 26 +++++++++++++++++++++++--- 4 files changed, 27 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7714eb54..92eacc85 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1515,7 +1515,7 @@ dependencies = [ "ironrdp-cliprdr-native", "ironrdp-core", "sspi", - "thiserror 1.0.69", + "thiserror 2.0.12", "tracing", "tracing-subscriber", ] @@ -2622,7 +2622,7 @@ dependencies = [ "pkcs1", "sha1", "tap", - "thiserror 1.0.69", + "thiserror 2.0.12", "x509-cert", ] diff --git a/crates/ironrdp-pdu/Cargo.toml b/crates/ironrdp-pdu/Cargo.toml index 4d424db5..77f56dc1 100644 --- a/crates/ironrdp-pdu/Cargo.toml +++ b/crates/ironrdp-pdu/Cargo.toml @@ -30,7 +30,7 @@ tap = "1" bit_field = "0.10" byteorder = "1.5" # TODO: remove der-parser = "9.0" -thiserror = "1.0" +thiserror = "2.0" md5 = { package = "md-5", version = "0.10" } num-bigint = "0.4" num-derive.workspace = true # TODO: remove diff --git a/ffi/Cargo.toml b/ffi/Cargo.toml index b265a4f4..6d08c88a 100644 --- a/ffi/Cargo.toml +++ b/ffi/Cargo.toml @@ -18,7 +18,7 @@ ironrdp = { path = "../crates/ironrdp", features = ["session", "connector", "dvc ironrdp-cliprdr-native.path = "../crates/ironrdp-cliprdr-native" ironrdp-core = { path = "../crates/ironrdp-core", features = ["alloc"] } sspi = { version = "0.16", features = ["network_client"] } -thiserror = "1" +thiserror = "2" tracing = { version = "0.1", features = ["log"] } tracing-subscriber = { version = "0.3", features = ["env-filter"] } diff --git a/fuzz/Cargo.lock b/fuzz/Cargo.lock index ebd898ee..deb0a098 100644 --- a/fuzz/Cargo.lock +++ b/fuzz/Cargo.lock @@ -29,7 +29,7 @@ dependencies = [ "nom", "num-traits", "rusticata-macros", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -394,7 +394,7 @@ dependencies = [ "pkcs1", "sha1", "tap", - "thiserror", + "thiserror 2.0.12", "x509-cert", ] @@ -696,7 +696,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.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708" +dependencies = [ + "thiserror-impl 2.0.12", ] [[package]] @@ -710,6 +719,17 @@ dependencies = [ "syn", ] +[[package]] +name = "thiserror-impl" +version = "2.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "tls_codec" version = "0.4.2"