From 64f9eae22d6ca54188362565104a7aa0a59ee437 Mon Sep 17 00:00:00 2001 From: Niklas Eicker Date: Thu, 24 Oct 2024 19:42:39 +0200 Subject: [PATCH 1/5] Update to bevy 0.15 rc1 --- CHANGELOG.md | 2 + Cargo.toml | 8 +-- examples/multiple_channels.rs | 101 ++++++++++++++-------------------- examples/spatial.rs | 87 +++++++++++------------------ examples/status.rs | 63 +++++---------------- examples/stress_test.rs | 7 ++- src/source/flac_loader.rs | 12 ++-- src/source/mp3_loader.rs | 12 ++-- src/source/ogg_loader.rs | 12 ++-- src/source/settings_loader.rs | 12 ++-- src/source/wav_loader.rs | 12 ++-- 11 files changed, 129 insertions(+), 199 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 83b1e7c..01c9f6f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # Changelog +- Update to Bevy `0.15` + ## v0.20.0 - 04.07.2024 - Update to Bevy `0.14` - Asset loaders are now public diff --git a/Cargo.toml b/Cargo.toml index 2cd692f..33b0f46 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bevy_kira_audio" -version = "0.20.0" +version = "0.21.0-rc.1" authors = ["Niklas Eicker "] edition = "2021" license = "MIT OR Apache-2.0" @@ -22,17 +22,17 @@ wav = ["kira/wav"] settings_loader = ["dep:ron", "dep:serde", "kira/serde"] [dependencies] -bevy = { version = "0.14.0", default-features = false, features = ["bevy_asset"] } +bevy = { version = "0.15.0-rc.1", default-features = false, features = ["bevy_asset"] } anyhow = "1.0" uuid = { version = "1", features = ["fast-rng"] } -kira = { version = "0.8", default-features = false, features = ["cpal"] } +kira = { version = "0.8.7", default-features = false, features = ["cpal"] } ron = { version = "0.8", optional = true } serde = { version = "1.0", features = ["derive"], optional = true } parking_lot = "0.12" thiserror = "1.0" [dev-dependencies.bevy] -version = "0.14.0" +version = "0.15.0-rc.1" default-features = false features = [ "bevy_asset", diff --git a/examples/multiple_channels.rs b/examples/multiple_channels.rs index c9aa6af..bef30f2 100644 --- a/examples/multiple_channels.rs +++ b/examples/multiple_channels.rs @@ -37,7 +37,7 @@ fn play_pause_button( time: Res