diff --git a/core/tauri-codegen/Cargo.toml b/core/tauri-codegen/Cargo.toml index c94fc8e4c136..7fc4e317ccf6 100644 --- a/core/tauri-codegen/Cargo.toml +++ b/core/tauri-codegen/Cargo.toml @@ -20,7 +20,7 @@ quote = "1" serde = { version = "1", features = [ "derive" ] } serde_json = "1" tauri-utils = { version = "1.6.1", path = "../tauri-utils", features = [ "build" ] } -thiserror = "1" +thiserror = "2" walkdir = "2" brotli = { version = "7", optional = true } regex = { version = "1", optional = true } diff --git a/core/tauri-runtime/Cargo.toml b/core/tauri-runtime/Cargo.toml index d88bbb3c33f2..f1c0a4f7aede 100644 --- a/core/tauri-runtime/Cargo.toml +++ b/core/tauri-runtime/Cargo.toml @@ -29,7 +29,7 @@ unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [dependencies] serde = { version = "1", features = [ "derive" ] } serde_json = "1" -thiserror = "1" +thiserror = "2" tauri-utils = { version = "1.6.1", path = "../tauri-utils" } uuid = { version = "1", features = [ "v4" ] } http = "0.2" diff --git a/core/tauri-utils/Cargo.toml b/core/tauri-utils/Cargo.toml index d57b43e4a372..f6c5d3c5a8bf 100644 --- a/core/tauri-utils/Cargo.toml +++ b/core/tauri-utils/Cargo.toml @@ -14,7 +14,7 @@ readme = "README.md" [dependencies] serde = { version = "1", features = [ "derive" ] } serde_json = "1" -thiserror = "1" +thiserror = "2" phf = { version = "0.11", features = [ "macros" ] } brotli = { version = "7", optional = true } url = { version = "2", features = [ "serde" ] } diff --git a/core/tauri/Cargo.toml b/core/tauri/Cargo.toml index 9c64beab97ae..abb7549979e2 100644 --- a/core/tauri/Cargo.toml +++ b/core/tauri/Cargo.toml @@ -60,7 +60,7 @@ futures-util = "0.3" uuid = { version = "1", features = [ "v4" ] } url = { version = "2" } anyhow = "1.0" -thiserror = "1.0" +thiserror = "2.0" once_cell = "1" tauri-runtime = { version = "0.14.5", path = "../tauri-runtime" } tauri-macros = { version = "1.4.6", path = "../tauri-macros" } diff --git a/tooling/bundler/Cargo.toml b/tooling/bundler/Cargo.toml index b48f0932a0d6..c9d4ecd27bd2 100644 --- a/tooling/bundler/Cargo.toml +++ b/tooling/bundler/Cargo.toml @@ -21,7 +21,7 @@ tauri-utils = { version = "1.6.1", path = "../../core/tauri-utils", features = [ image = "0.25" flate2 = "1.0" anyhow = "1.0" -thiserror = "1.0" +thiserror = "2.0" serde_json = "1.0" serde = { version = "1.0", features = [ "derive" ] } strsim = "0.11"