Skip to content

Commit

Permalink
Update to ron 0.8 (#5864)
Browse files Browse the repository at this point in the history
# Objective

- Update ron to 0.8.0
- Fix breaking changes
- Closes #5862

## Solution

- Removed now non-existing method call (behavior is now the same without it)
  • Loading branch information
Ixentus committed Sep 2, 2022
1 parent 7511c9b commit 662c6e9
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -127,7 +127,7 @@ bevy_internal = { path = "crates/bevy_internal", version = "0.9.0-dev", default-
[dev-dependencies]
anyhow = "1.0.4"
rand = "0.8.0"
ron = "0.7.0"
ron = "0.8.0"
serde = { version = "1", features = ["derive"] }
bytemuck = "1.7"
# Needed to poll Task examples
Expand Down
2 changes: 1 addition & 1 deletion crates/bevy_app/Cargo.toml
Expand Up @@ -24,7 +24,7 @@ bevy_tasks = { path = "../bevy_tasks", version = "0.9.0-dev" }

# other
serde = { version = "1.0", features = ["derive"], optional = true }
ron = { version = "0.7.0", optional = true }
ron = { version = "0.8.0", optional = true }


[target.'cfg(target_arch = "wasm32")'.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion crates/bevy_reflect/Cargo.toml
Expand Up @@ -30,4 +30,4 @@ smallvec = { version = "1.6", features = ["serde", "union", "const_generics"], o
glam = { version = "0.21", features = ["serde"], optional = true }

[dev-dependencies]
ron = "0.7.0"
ron = "0.8.0"
2 changes: 1 addition & 1 deletion crates/bevy_scene/Cargo.toml
Expand Up @@ -22,7 +22,7 @@ bevy_render = { path = "../bevy_render", version = "0.9.0-dev" }

# other
serde = { version = "1.0", features = ["derive"] }
ron = "0.7.0"
ron = "0.8.0"
uuid = { version = "1.1", features = ["v4", "serde"] }
anyhow = "1.0.4"
thiserror = "1.0"
1 change: 0 additions & 1 deletion crates/bevy_scene/src/dynamic_scene.rs
Expand Up @@ -141,7 +141,6 @@ where
S: Serialize,
{
let pretty_config = ron::ser::PrettyConfig::default()
.decimal_floats(true)
.indentor(" ".to_string())
.new_line("\n".to_string());
ron::ser::to_string_pretty(&serialize, pretty_config)
Expand Down

0 comments on commit 662c6e9

Please sign in to comment.