From eda416ba7923338e232cda452e63e97b65bcf7bf Mon Sep 17 00:00:00 2001 From: FabianLars <30730186+FabianLars@users.noreply.github.com> Date: Wed, 18 Mar 2026 16:13:13 +0100 Subject: [PATCH] json5 and changefile --- .changes/json5-toml.md | 5 +++++ Cargo.lock | 7 +++---- crates/tauri-cli/Cargo.toml | 2 +- crates/tauri-utils/Cargo.toml | 3 ++- 4 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 .changes/json5-toml.md diff --git a/.changes/json5-toml.md b/.changes/json5-toml.md new file mode 100644 index 000000000..e0e2964db --- /dev/null +++ b/.changes/json5-toml.md @@ -0,0 +1,5 @@ +--- +tauri-utils: patch:deps +--- + +Changed `json5` crate version from `0.4` to `">=0.4, <=1"` and `toml` crate version from `0.9` to `">=0.9, <=1"` diff --git a/Cargo.lock b/Cargo.lock index d9cbf7813..52a2d0c9f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3992,13 +3992,12 @@ dependencies = [ [[package]] name = "json5" -version = "0.4.1" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96b0db21af676c1ce64250b5f40f3ce2cf27e4e47cb91ed91eb6fe9350b430c1" +checksum = "733a844dbd6fef128e98cb4487b887cb55454d92cd9994b1bafe004fabbe670c" dependencies = [ - "pest", - "pest_derive", "serde", + "ucd-trie", ] [[package]] diff --git a/crates/tauri-cli/Cargo.toml b/crates/tauri-cli/Cargo.toml index 4f95db943..a90c4da08 100644 --- a/crates/tauri-cli/Cargo.toml +++ b/crates/tauri-cli/Cargo.toml @@ -51,7 +51,7 @@ tauri-bundler = { version = "2.8.1", default-features = false, path = "../tauri- colored = "2" serde = { version = "1", features = ["derive"] } serde_json = { version = "1", features = ["preserve_order"] } -json5 = "0.4" +json5 = "1" notify = "8" notify-debouncer-full = "0.6" shared_child = "1" diff --git a/crates/tauri-utils/Cargo.toml b/crates/tauri-utils/Cargo.toml index 37cd0dd6d..1540a6700 100644 --- a/crates/tauri-utils/Cargo.toml +++ b/crates/tauri-utils/Cargo.toml @@ -33,7 +33,8 @@ aes-gcm = { version = "0.10", optional = true } getrandom = { version = "0.3", optional = true, features = ["std"] } serialize-to-javascript = { version = "0.1.2", optional = true } ctor = "0.2" -json5 = { version = "0.4", optional = true } +# Part of public api in error type +json5 = { version = ">=0.4, <=1", optional = true } # Part of public api in error type toml = { version = ">=0.9, <=1", features = ["parse"] } json-patch = "3.0"