diff --git a/Cargo.lock b/Cargo.lock index 4b499f3..d9eb1cb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -844,7 +844,7 @@ dependencies = [ "serde_json", "serde_yaml", "sha2", - "thiserror 1.0.69", + "thiserror", "tokio", "tracing", "uuid", @@ -881,7 +881,7 @@ dependencies = [ "rustc-hash", "rustls", "socket2", - "thiserror 2.0.21", + "thiserror", "tokio", "tracing", "web-time", @@ -903,7 +903,7 @@ dependencies = [ "rustls", "rustls-pki-types", "slab", - "thiserror 2.0.21", + "thiserror", "tinyvec", "tracing", "web-time", @@ -1283,33 +1283,13 @@ version = "0.12.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" -[[package]] -name = "thiserror" -version = "1.0.69" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" -dependencies = [ - "thiserror-impl 1.0.69", -] - [[package]] name = "thiserror" version = "2.0.21" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e" dependencies = [ - "thiserror-impl 2.0.21", -] - -[[package]] -name = "thiserror-impl" -version = "1.0.69" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", + "thiserror-impl", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index eeb4461..75f1c78 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,7 +26,7 @@ homepage = "https://github.com/Mullassery/PyTagShield" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" serde_yaml = "0.9" -thiserror = "1.0" +thiserror = "2.0" tokio = { version = "1.38", features = ["rt-multi-thread", "macros", "sync", "time", "signal", "net"] } tracing = "0.1" tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }