Skip to content

Commit

Permalink
Merge pull request #41 from idanarye/upgrade-to-bevy-0.11
Browse files Browse the repository at this point in the history
Upgrade to bevy 0.11
  • Loading branch information
johanhelsing authored Aug 2, 2023
2 parents 0e10c85 + 249461e commit 385a127
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 11 deletions.
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bevy_pkv"
version = "0.7.0"
version = "0.8.0"
edition = "2021"
license = "MIT OR Apache-2.0"
authors = ["Johan Helsing <[email protected]>"]
Expand All @@ -12,7 +12,7 @@ repository = "https://github.com/johanhelsing/bevy_pkv"
[dependencies]
thiserror = "1.0"
serde = "1.0"
bevy_ecs = { version = "0.10", optional = true } # we need for deriving Resource in PkvStore
bevy_ecs = { version = "0.11", optional = true } # we need for deriving Resource in PkvStore

[features]
default = ["bevy", "redb"]
Expand All @@ -34,7 +34,7 @@ directories = "5.0"
redb = { version = "1.0.1", optional = true }

[dev-dependencies]
bevy = { version = "0.10", default-features = false }
bevy = { version = "0.11", default-features = false }
strum_macros = "*"

[build-dependencies]
Expand Down Expand Up @@ -62,4 +62,4 @@ required-features = ["bevy"]

[[example]]
name = "enumkeys"
required-features = ["bevy"]
required-features = ["bevy"]
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ I intend to support the `main` branch of Bevy in the `bevy-main` branch.

|bevy|bevy\_pkv|
|----|---|
|0.10|0.7, main|
|0.11|0.8, main|
|0.10|0.7|
|0.9 |0.6|
|0.8 |0.5|
|0.7 |0.2, 0.3, 0.4|
Expand Down
4 changes: 2 additions & 2 deletions examples/basic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ fn main() {
App::new()
.insert_resource(PkvStore::new("BevyPkv", "BasicExample"))
.add_plugins(MinimalPlugins)
.add_plugin(LogPlugin::default())
.add_startup_system(setup)
.add_plugins(LogPlugin::default())
.add_systems(Startup, setup)
.run();
}
4 changes: 2 additions & 2 deletions examples/enumkeys.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ fn main() {
App::new()
.insert_resource(PkvStore::new("BevyPkv", "EnumExample"))
.add_plugins(MinimalPlugins)
.add_plugin(LogPlugin::default())
.add_startup_system(setup)
.add_plugins(LogPlugin::default())
.add_systems(Startup, setup)
.run();
}

Expand Down
4 changes: 2 additions & 2 deletions examples/migration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ fn main() {
App::new()
.insert_resource(PkvStore::new("BevyPkv", "MigrationExample"))
.add_plugins(MinimalPlugins)
.add_plugin(LogPlugin::default())
.add_startup_system(setup)
.add_plugins(LogPlugin::default())
.add_systems(Startup, setup)
.run();
}

0 comments on commit 385a127

Please sign in to comment.