Skip to content

Commit

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

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

## Solution

- Removed now non-existing method call (behavior is now the same without it)
  • Loading branch information
Ixentus authored and ItsDoot committed Feb 1, 2023
1 parent d952844 commit 0c51c31
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 0c51c31

Please sign in to comment.