Update to rodio 0.18 (#13612)

# Objective

- Adopted from #13528.
- `rodio` released 0.18! While we are working on migrating away from it
and towards `kira`, it is still good to keep our dependencies
up-to-date.

## Solution

- Update `Cargo.toml` to depend on `rodio` 0.18.
- #13528 was failing because it didn't update `rodio` for
`wasm32-unknown-unknown` too.

## Testing

- The CI should catch any errors here, but you can also run an audio
example if you want like `spatial_audio_2d`.

---

## Changelog

- Updated `rodio` to 0.18.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
BD103 2024-06-02 10:25:51 -04:00 committed by GitHub
parent 07aa9e5641
commit 7d3fcd5067
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,13 +23,13 @@ bevy_derive = { path = "../bevy_derive", version = "0.14.0-dev" }
bevy_utils = { path = "../bevy_utils", version = "0.14.0-dev" }
# other
rodio = { version = "0.17", default-features = false }
rodio = { version = "0.18", default-features = false }
[target.'cfg(target_os = "android")'.dependencies]
cpal = { version = "0.15", optional = true }
[target.'cfg(target_arch = "wasm32")'.dependencies]
rodio = { version = "0.17", default-features = false, features = [
rodio = { version = "0.18", default-features = false, features = [
"wasm-bindgen",
] }