mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 04:33:37 +00:00
Update to ron 0.8 (#5864)
# 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)
This commit is contained in:
parent
7511c9bfaa
commit
662c6e9a34
5 changed files with 4 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue