Skip to content

Commit

Permalink
chore(deps) Update Rust crate thiserror to v2 (dev) (#11604)
Browse files Browse the repository at this point in the history
* chore(deps) Update Rust crate thiserror to v2

* thiserror v2 on all crates

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <[email protected]>
  • Loading branch information
renovate[bot] and lucasfernog authored Nov 8, 2024
1 parent 229d7f8 commit b284358
Show file tree
Hide file tree
Showing 9 changed files with 85 additions and 65 deletions.
134 changes: 77 additions & 57 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion crates/tauri-bundler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tauri-utils = { version = "2.0.2", path = "../tauri-utils", features = [
image = "0.25.0"
flate2 = "1.0"
anyhow = "1.0"
thiserror = "1.0"
thiserror = "2"
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
strsim = "0.11.0"
Expand Down
2 changes: 1 addition & 1 deletion crates/tauri-cli/templates/plugin/Cargo.crate-manifest
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ links = "tauri-plugin-{{ plugin_name }}"
[dependencies]
tauri = {{ tauri_dep }}
serde = "1.0"
thiserror = "1.0"
thiserror = "2"

[build-dependencies]
tauri-plugin = {{{ tauri_plugin_dep }}}
2 changes: 1 addition & 1 deletion crates/tauri-codegen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ serde_json = "1"
tauri-utils = { version = "2.0.2", path = "../tauri-utils", features = [
"build",
] }
thiserror = "1"
thiserror = "2"
walkdir = "2"
brotli = { version = "7", optional = true, default-features = false, features = [
"std",
Expand Down
2 changes: 1 addition & 1 deletion crates/tauri-runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ targets = [
[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "1.0"
thiserror = "2"
tauri-utils = { version = "2.0.2", path = "../tauri-utils" }
http = "1.1"
raw-window-handle = "0.6"
Expand Down
2 changes: 1 addition & 1 deletion crates/tauri-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ rust-version.workspace = true
[dependencies]
serde = { version = "1", features = ["derive"] }
serde_json = "1"
thiserror = "1"
thiserror = "2"
phf = { version = "0.11", features = ["macros"] }
brotli = { version = "7", optional = true, default-features = false, features = [
"std",
Expand Down
2 changes: 1 addition & 1 deletion crates/tauri-utils/src/acl/identifier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ pub enum ParseIdentifierError {
Empty,

/// Identifier is too long.
#[error("identifiers cannot be longer than {}, found {0}", MAX_LEN_IDENTIFIER)]
#[error("identifiers cannot be longer than {len}, found {0}", len = MAX_LEN_IDENTIFIER)]
Humongous(usize),

/// Identifier is not in a valid format.
Expand Down
2 changes: 1 addition & 1 deletion crates/tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ futures-util = "0.3"
uuid = { version = "1", features = ["v4"], optional = true }
url = "2"
anyhow = "1.0"
thiserror = "1.0"
thiserror = "2"
tauri-runtime = { version = "2.1.1", path = "../tauri-runtime" }
tauri-macros = { version = "2.0.2", path = "../tauri-macros" }
tauri-utils = { version = "2.0.2", features = [
Expand Down
2 changes: 1 addition & 1 deletion examples/api/src-tauri/tauri-plugin-sample/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ links = "tauri-plugin-sample"
tauri = { path = "../../../../crates/tauri" }
log = "0.4"
serde = "1"
thiserror = "1"
thiserror = "2"

[build-dependencies]
tauri-plugin = { path = "../../../../crates/tauri-plugin", features = [
Expand Down

0 comments on commit b284358

Please sign in to comment.