From 81f02f26f243ffb76bafd5868f8b72fb134151f5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 24 Sep 2025 17:47:32 -0400 Subject: [PATCH] chore(deps): update rust crate ron to 0.11 (#8196) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- player/tests/player/main.rs | 3 +-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5d091f5d6..e09db4ad2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3592,9 +3592,9 @@ checksum = "19b30a45b0cd0bcca8037f3d0dc3421eaf95327a17cad11964fb8179b4fc4832" [[package]] name = "ron" -version = "0.10.1" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "beceb6f7bf81c73e73aeef6dd1356d9a1b2b4909e1f0fc3e59b034f9572d7b7f" +checksum = "db09040cc89e461f1a265139777a2bde7f8d8c67c4936f700c63ce3e2904d468" dependencies = [ "base64", "bitflags 2.9.4", diff --git a/Cargo.toml b/Cargo.toml index 77ee76615..621317feb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -174,7 +174,7 @@ rayon = "1.3" regex-lite = "0.1" renderdoc-sys = "1" rspirv = "0.12" -ron = "0.10" +ron = "0.11" # NOTE: rustc-hash v2 is a completely different hasher with different performance characteristics # see discussion here (including with some other alternatives): https://github.com/gfx-rs/wgpu/issues/6999 # (using default-features = false to support no-std build, avoiding any extra features that may require std::collections) diff --git a/player/tests/player/main.rs b/player/tests/player/main.rs index e50e4368d..3f5782918 100644 --- a/player/tests/player/main.rs +++ b/player/tests/player/main.rs @@ -76,8 +76,7 @@ impl Test<'_> { _ => unreachable!(), }; let string = read_to_string(&path).unwrap().replace("Noop", backend_name); - ron::de::from_str(&string) - .unwrap_or_else(|e| panic!("{path:?}:{} {}", e.position.line, e.code)) + ron::de::from_str(&string).unwrap_or_else(|e| panic!("{path:?}:{} {}", e.span, e.code)) } fn run(