Skip to content

Commit

Permalink
Upgrade to Bevy 0.12 (#1)
Browse files Browse the repository at this point in the history
* Upgrade to Bevy 0.12

* Prepare for release
  • Loading branch information
rparrett committed Nov 5, 2023
1 parent a961391 commit 05b22fd
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 10 deletions.
20 changes: 13 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bevy_pipelines_ready"
version = "0.1.1"
version = "0.2.0"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "Bevy plugin for tracking render pipeline status."
Expand All @@ -14,14 +14,20 @@ exclude = [".github"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
bevy = { version = "0.11", default-features = false, features = [
[dependencies.bevy]
version = "0.12"
default-features = false
features = [
"bevy_render"
] }
]

[dependencies]
crossbeam-channel = "0.5.8"

[dev-dependencies]
bevy = { version = "0.11", default-features = false, features = [
[dev-dependencies.bevy]
version = "0.12"
default-features = false
features = [
"android_shared_stdcxx",
"bevy_asset",
"bevy_core_pipeline",
Expand All @@ -36,4 +42,4 @@ bevy = { version = "0.11", default-features = false, features = [
"ktx2",
"zstd",
"x11",
] }
]
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ See [`examples/states.rs`](examples/states.rs).

## Compatibility

| `bevy_pipelines_ready` | `bevy` |
| `bevy_pipelines_ready` | `bevy` |
| :-- | :-- |
| `0.2` | `0.12` |
| `0.1` | `0.11` |

## Contributing
Expand Down
4 changes: 2 additions & 2 deletions examples/states.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ struct LoadingOnly;
// This value should be found experimentally by logging `PipelinesReady` in your app
// during normal use and noting the maximum value.
#[cfg(not(target_arch = "wasm32"))]
const EXPECTED_PIPELINES: usize = 7;
const EXPECTED_PIPELINES: usize = 8;
// The value will likely differ on the web due to different implementations of some
// render features.
#[cfg(target_arch = "wasm32")]
const EXPECTED_PIPELINES: usize = 4;
const EXPECTED_PIPELINES: usize = 5;

fn main() {
App::new()
Expand Down

0 comments on commit 05b22fd

Please sign in to comment.