diff --git a/Cargo.toml b/Cargo.toml index 5592fa0..78b3bc1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ version = "0.7.0" rust-version = "1.76.0" [workspace.dependencies] -bevy = { version = "0.13", default-features = false } +bevy = { version = "0.14", default-features = false } serde = "1" serde_derive = "1" rand_core = { version = "0.6", features = ["std"] } diff --git a/README.md b/README.md index 06c86de..09c67ce 100644 --- a/README.md +++ b/README.md @@ -128,7 +128,8 @@ fn setup_npc_from_source( | `bevy` | `bevy_rand` | | ------ | ------------ | -| v0.13 | v0.5 - v0.7 | +| v0.14 | v0.7 | +| v0.13 | v0.5 - v0.6 | | v0.12 | v0.4 | | v0.11 | v0.2 - v0.3 | | v0.10 | v0.1 | diff --git a/src/component.rs b/src/component.rs index 9b95ba7..4cc5477 100644 --- a/src/component.rs +++ b/src/component.rs @@ -296,7 +296,7 @@ mod tests { #[test] fn rng_untyped_serialization() { use bevy::reflect::{ - serde::{ReflectSerializer, UntypedReflectDeserializer}, + serde::{ReflectSerializer, ReflectDeserializer}, TypeRegistry, }; use ron::to_string; @@ -321,7 +321,7 @@ mod tests { let mut deserializer = ron::Deserializer::from_str(&serialized).unwrap(); - let de = UntypedReflectDeserializer::new(®istry); + let de = ReflectDeserializer::new(®istry); let value = de.deserialize(&mut deserializer).unwrap(); diff --git a/src/resource.rs b/src/resource.rs index d28b394..4adf2ec 100644 --- a/src/resource.rs +++ b/src/resource.rs @@ -246,7 +246,7 @@ mod tests { #[test] fn rng_untyped_serialization() { use bevy::reflect::{ - serde::{ReflectSerializer, UntypedReflectDeserializer}, + serde::{ReflectSerializer, ReflectDeserializer}, TypeRegistry, }; use ron::ser::to_string; @@ -271,7 +271,7 @@ mod tests { let mut deserializer = ron::Deserializer::from_str(&serialized).unwrap(); - let de = UntypedReflectDeserializer::new(®istry); + let de = ReflectDeserializer::new(®istry); let value = de.deserialize(&mut deserializer).unwrap();