Skip to content

Commit

Permalink
feat: Upgrade to v0.14 rc
Browse files Browse the repository at this point in the history
  • Loading branch information
Bluefinger committed Jun 9, 2024
1 parent ff0ee16 commit b1b999c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.0-rc.2", default-features = false }
serde = "1"
serde_derive = "1"
rand_core = { version = "0.6", features = ["std"] }
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
4 changes: 2 additions & 2 deletions src/component.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -321,7 +321,7 @@ mod tests {

let mut deserializer = ron::Deserializer::from_str(&serialized).unwrap();

let de = UntypedReflectDeserializer::new(&registry);
let de = ReflectDeserializer::new(&registry);

let value = de.deserialize(&mut deserializer).unwrap();

Expand Down
4 changes: 2 additions & 2 deletions src/resource.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -271,7 +271,7 @@ mod tests {

let mut deserializer = ron::Deserializer::from_str(&serialized).unwrap();

let de = UntypedReflectDeserializer::new(&registry);
let de = ReflectDeserializer::new(&registry);

let value = de.deserialize(&mut deserializer).unwrap();

Expand Down

0 comments on commit b1b999c

Please sign in to comment.