Skip to main content

max / balanced_breakfast

Bump toml to 1.1, roxmltree to 0.21, thiserror to 2.0 All three are drop-in here; no source changes required. thiserror 2.0 clears the last 1.x holdout in the tree. roxmltree parses untrusted feed input, so the parser fixes are worth having. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Author: Max Johnson <me@maxj.phd> · 2026-07-20 20:38 UTC
Commit: 5c651c6cea962f5f6549a2faac2a73b3286c4a26
Parent: 8f6b046
2 files changed, +51 insertions, -18 deletions
M Cargo.lock +48 -15
@@ -222,7 +222,7 @@ dependencies = [
222 222 "tauri-plugin-updater",
223 223 "tauri-plugin-window-state",
224 224 "tokio",
225 - "toml 0.8.2",
225 + "toml 1.1.3+spec-1.1.0",
226 226 "tracing",
227 227 "tracing-subscriber",
228 228 "ureq",
@@ -271,7 +271,7 @@ dependencies = [
271 271 "serde",
272 272 "serde_json",
273 273 "sqlx",
274 - "thiserror 1.0.69",
274 + "thiserror 2.0.18",
275 275 "tokio",
276 276 "tracing",
277 277 "ureq",
@@ -288,7 +288,7 @@ dependencies = [
288 288 "serde",
289 289 "serde_json",
290 290 "sqlx",
291 - "thiserror 1.0.69",
291 + "thiserror 2.0.18",
292 292 "tokio",
293 293 "tracing",
294 294 "uuid",
@@ -304,7 +304,7 @@ dependencies = [
304 304 "regex",
305 305 "serde_json",
306 306 "sqlx",
307 - "thiserror 1.0.69",
307 + "thiserror 2.0.18",
308 308 "tokio",
309 309 "tracing",
310 310 ]
@@ -325,7 +325,7 @@ dependencies = [
325 325 "printpdf",
326 326 "pter 0.1.1",
327 327 "pulldown-cmark",
328 - "thiserror 1.0.69",
328 + "thiserror 2.0.18",
329 329 ]
330 330
331 331 [[package]]
@@ -4232,9 +4232,12 @@ dependencies = [
4232 4232
4233 4233 [[package]]
4234 4234 name = "roxmltree"
4235 - version = "0.19.0"
4235 + version = "0.21.1"
4236 4236 source = "registry+https://github.com/rust-lang/crates.io-index"
4237 - checksum = "3cd14fd5e3b777a7422cca79358c57a8f6e3a703d9ac187448d0daf220c2407f"
4237 + checksum = "f1964b10c76125c36f8afe190065a4bf9a87bf324842c05701330bba9f1cacbb"
4238 + dependencies = [
4239 + "memchr",
4240 + ]
4238 4241
4239 4242 [[package]]
4240 4243 name = "rsa"
@@ -4665,9 +4668,9 @@ dependencies = [
4665 4668
4666 4669 [[package]]
4667 4670 name = "serde_spanned"
4668 - version = "1.0.4"
4671 + version = "1.1.1"
4669 4672 source = "registry+https://github.com/rust-lang/crates.io-index"
4670 - checksum = "f8bbf91e5a4d6315eee45e704372590b30e260ee83af6639d64557f51b067776"
4673 + checksum = "6662b5879511e06e8999a8a235d848113e942c9124f211511b16466ee2995f26"
4671 4674 dependencies = [
4672 4675 "serde_core",
4673 4676 ]
@@ -6065,7 +6068,7 @@ checksum = "cf92845e79fc2e2def6a5d828f0801e29a2f8acc037becc5ab08595c7d5e9863"
6065 6068 dependencies = [
6066 6069 "indexmap 2.13.0",
6067 6070 "serde_core",
6068 - "serde_spanned 1.0.4",
6071 + "serde_spanned 1.1.1",
6069 6072 "toml_datetime 0.7.5+spec-1.1.0",
6070 6073 "toml_parser",
6071 6074 "toml_writer",
@@ -6073,6 +6076,21 @@ dependencies = [
6073 6076 ]
6074 6077
6075 6078 [[package]]
6079 + name = "toml"
6080 + version = "1.1.3+spec-1.1.0"
6081 + source = "registry+https://github.com/rust-lang/crates.io-index"
6082 + checksum = "53c96ecdfa941c8fc4fcaed14f99ada8ebed502eef533015095a07e3301d4c3c"
6083 + dependencies = [
6084 + "indexmap 2.13.0",
6085 + "serde_core",
6086 + "serde_spanned 1.1.1",
6087 + "toml_datetime 1.1.1+spec-1.1.0",
6088 + "toml_parser",
6089 + "toml_writer",
6090 + "winnow 1.0.4",
6091 + ]
6092 +
6093 + [[package]]
6076 6094 name = "toml_datetime"
6077 6095 version = "0.6.3"
6078 6096 source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -6091,6 +6109,15 @@ dependencies = [
6091 6109 ]
6092 6110
6093 6111 [[package]]
6112 + name = "toml_datetime"
6113 + version = "1.1.1+spec-1.1.0"
6114 + source = "registry+https://github.com/rust-lang/crates.io-index"
6115 + checksum = "3165f65f62e28e0115a00b2ebdd37eb6f3b641855f9d636d3cd4103767159ad7"
6116 + dependencies = [
6117 + "serde_core",
6118 + ]
6119 +
6120 + [[package]]
6094 6121 name = "toml_edit"
6095 6122 version = "0.19.15"
6096 6123 source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -6128,18 +6155,18 @@ dependencies = [
6128 6155
6129 6156 [[package]]
6130 6157 name = "toml_parser"
6131 - version = "1.0.9+spec-1.1.0"
6158 + version = "1.1.2+spec-1.1.0"
6132 6159 source = "registry+https://github.com/rust-lang/crates.io-index"
6133 - checksum = "702d4415e08923e7e1ef96cd5727c0dfed80b4d2fa25db9647fe5eb6f7c5a4c4"
6160 + checksum = "a2abe9b86193656635d2411dc43050282ca48aa31c2451210f4202550afb7526"
6134 6161 dependencies = [
6135 - "winnow 0.7.14",
6162 + "winnow 1.0.4",
6136 6163 ]
6137 6164
6138 6165 [[package]]
6139 6166 name = "toml_writer"
6140 - version = "1.0.6+spec-1.1.0"
6167 + version = "1.1.2+spec-1.1.0"
6141 6168 source = "registry+https://github.com/rust-lang/crates.io-index"
6142 - checksum = "ab16f14aed21ee8bfd8ec22513f7287cd4a91aa92e44edfe2c17ddd004e92607"
6169 + checksum = "7d56353a2a665ad0f41a421187180aab746c8c325620617ad883a99a1cbe66d2"
6143 6170
6144 6171 [[package]]
6145 6172 name = "tower"
@@ -7341,6 +7368,12 @@ dependencies = [
7341 7368 ]
7342 7369
7343 7370 [[package]]
7371 + name = "winnow"
7372 + version = "1.0.4"
7373 + source = "registry+https://github.com/rust-lang/crates.io-index"
7374 + checksum = "23b97319f7b8343df12cc98938e5c3eb436064524c8d2b4e30a1d3a36eecdf81"
7375 +
7376 + [[package]]
7344 7377 name = "winreg"
7345 7378 version = "0.55.0"
7346 7379 source = "registry+https://github.com/rust-lang/crates.io-index"
M Cargo.toml +3 -3
@@ -19,7 +19,7 @@ license-file = "LICENSE"
19 19 [workspace.dependencies]
20 20 # Core dependencies
21 21 tokio = { version = "1.49.0", features = ["rt-multi-thread", "sync", "time", "macros"] }
22 - thiserror = "1.0.69"
22 + thiserror = "2.0"
23 23 serde = { version = "1.0.228", features = ["derive"] }
24 24 serde_json = "1.0.149"
25 25 tracing = "0.1.44"
@@ -29,7 +29,7 @@ tracing-subscriber = { version = "0.3.22", features = ["env-filter"] }
29 29 sqlx = { version = "0.8.6", features = ["runtime-tokio", "sqlite", "chrono", "uuid"] }
30 30
31 31 # XML parsing
32 - roxmltree = "0.19.0"
32 + roxmltree = "0.21"
33 33
34 34 # Encryption
35 35 aes-gcm = "0.10"
@@ -50,7 +50,7 @@ open = "5"
50 50 chrono = { version = "0.4.43", features = ["serde"] }
51 51 uuid = { version = "1.20.0", features = ["v4", "serde"] }
52 52 makeover = "1.0.0"
53 - toml = "0.8.2"
53 + toml = "1.1"
54 54 dirs = "6.0.0"
55 55
56 56 # Internal crates