From 5c46b13a1685e9eef9c231247015e73e8fa26553 Mon Sep 17 00:00:00 2001 From: Aevyrie Date: Fri, 5 Jul 2024 01:20:41 -0700 Subject: [PATCH] 0.17.0 (#59) * Bump versions --- .github/workflows/rust.yml | 8 ++++---- Cargo.toml | 32 +++++++++++++++++++------------- examples/demo.rs | 1 + 3 files changed, 24 insertions(+), 17 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index ade3999..a8ed111 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -30,7 +30,7 @@ jobs: - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2.7.0 - - run: cargo check + - run: cargo check --features=bevy_winit/x11 clippy: runs-on: ubuntu-latest @@ -40,7 +40,7 @@ jobs: - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2.7.0 - run: rustup component add clippy - - run: cargo clippy -- -D warnings + - run: cargo clippy --features=bevy_winit/x11 -- -D warnings doc: runs-on: ubuntu-latest @@ -49,7 +49,7 @@ jobs: - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2.7.0 - - run: cargo doc --no-deps --workspace + - run: cargo doc --features=bevy_winit/x11 --no-deps --workspace env: RUSTDOCFLAGS: -D warnings @@ -60,4 +60,4 @@ jobs: - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2.7.0 - - run: cargo test + - run: cargo test --features=bevy_winit/x11 diff --git a/Cargo.toml b/Cargo.toml index f993e15..871b005 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bevy_framepace" -version = "0.17.0-rc.1" +version = "0.17.0" edition = "2021" resolver = "2" description = "Frame pacing and frame limiting for Bevy" @@ -11,25 +11,31 @@ documentation = "https://docs.rs/bevy_framepace" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -bevy_app = "0.14.0-rc.4" -bevy_ecs = "0.14.0-rc.4" -bevy_diagnostic = "0.14.0-rc.4" -bevy_log = "0.14.0-rc.4" -bevy_render = "0.14.0-rc.4" -bevy_reflect = "0.14.0-rc.4" -bevy_time = "0.14.0-rc.4" -bevy_utils = "0.14.0-rc.4" -bevy_window = "0.14.0-rc.4" -bevy_winit = "0.14.0-rc.4" +bevy_app = { version = "0.14.0", default-features = false } +bevy_ecs = { version = "0.14.0", default-features = false } +bevy_diagnostic = { version = "0.14.0", default-features = false } +bevy_log = { version = "0.14.0", default-features = false } +bevy_render = { version = "0.14.0", default-features = false } +bevy_reflect = { version = "0.14.0", default-features = false } +bevy_time = { version = "0.14.0", default-features = false } +bevy_utils = { version = "0.14.0", default-features = false } +bevy_window = { version = "0.14.0", default-features = false } +bevy_winit = { version = "0.14.0", default-features = false } # Non-bevy spin_sleep = "1.0" [features] -default = ["framepace_debug", "bevy_winit/x11"] +default = ["framepace_debug"] framepace_debug = [] [dev-dependencies] -bevy = "0.14.0-rc.4" +bevy = { version = "0.14.0", default-features = false, features = [ + "bevy_color", + "bevy_ui", + "bevy_gizmos", + "bevy_winit", + "default_font", +] } [[example]] name = "demo" diff --git a/examples/demo.rs b/examples/demo.rs index 416fdac..d186e17 100644 --- a/examples/demo.rs +++ b/examples/demo.rs @@ -55,6 +55,7 @@ fn setup(mut commands: Commands, mut windows: Query<&mut Window>) { order: 10, ..default() }, + tonemapping: bevy::core_pipeline::tonemapping::Tonemapping::None, ..default() },)); commands.spawn((Camera3dBundle::default(),));