Auto merge of #13780 - epage:toml, r=weihanglo

fix(toml): Don't crash on parse errors that point to multi-byte character

This pulls in toml-rs/toml#713

Fixes #13772
This commit is contained in:
bors 2024-04-19 13:48:21 +00:00
commit b503c83088
2 changed files with 3 additions and 3 deletions

4
Cargo.lock generated
View File

@ -3467,9 +3467,9 @@ dependencies = [
[[package]]
name = "toml_edit"
version = "0.22.9"
version = "0.22.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8e40bb779c5187258fd7aad0eb68cb8706a0a81fa712fbea808ab43c4b8374c4"
checksum = "fb686a972ccef8537b39eead3968b0e8616cb5040dbb9bba93007c8e07c9215f"
dependencies = [
"indexmap",
"serde",

View File

@ -97,7 +97,7 @@ tempfile = "3.10.1"
thiserror = "1.0.58"
time = { version = "0.3", features = ["parsing", "formatting", "serde"] }
toml = "0.8.12"
toml_edit = { version = "0.22.9", features = ["serde"] }
toml_edit = { version = "0.22.11", features = ["serde"] }
tracing = "0.1.40" # be compatible with rustc_log: https://github.com/rust-lang/rust/blob/e51e98dde6a/compiler/rustc_log/Cargo.toml#L9
tracing-chrome = "0.7.2"
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }