From 3c793c1a7989914d0af9d976322bbeff05e47893 Mon Sep 17 00:00:00 2001 From: Umut Date: Sun, 5 Nov 2023 19:42:14 +0100 Subject: [PATCH] feat: bump bevy to v0.12 --- Cargo.toml | 6 +++--- src/persistent.rs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 0cda81e..6ab8c90 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ authors = [ ] [dependencies] -bevy = { version = "0.11", features = ["serialize"] } +bevy = { version = "0.12", features = ["serialize"] } bincode = { version = "1.3", optional = true } ron = { version = "0.8", optional = true } serde = { version = "1.0" } @@ -21,10 +21,10 @@ serde_ini = { version = "0.2", optional = true } serde_json = { version = "1.0", optional = true } serde_yaml = { version = "0.9", optional = true } thiserror = { version = "1.0" } -toml = { version = "0.7", optional = true } +toml = { version = "0.8", optional = true } [target.'cfg(target_family = "wasm")'.dependencies] -gloo-storage = { version = "0.2" } +gloo-storage = { version = "0.3" } [dev-dependencies] anyhow = { version = "1.0" } diff --git a/src/persistent.rs b/src/persistent.rs index ab572d5..60e7b70 100644 --- a/src/persistent.rs +++ b/src/persistent.rs @@ -10,7 +10,7 @@ use crate::prelude::*; /// and a default resource in case the persistent resource is created for the first time. /// /// They are synchronized with the disk from the moment of their creation. -#[derive(Component, Debug, Reflect, Resource)] +#[derive(Component, Debug, Resource)] pub struct Persistent { pub(crate) name: String, pub(crate) format: StorageFormat,