2020-07-16 20:46:51 +00:00
|
|
|
[package]
|
|
|
|
name = "bevy_audio"
|
2024-02-21 20:58:59 +00:00
|
|
|
version = "0.14.0-dev"
|
2021-10-27 00:12:14 +00:00
|
|
|
edition = "2021"
|
2020-08-10 00:24:27 +00:00
|
|
|
description = "Provides audio functionality for Bevy Engine"
|
|
|
|
homepage = "https://bevyengine.org"
|
|
|
|
repository = "https://github.com/bevyengine/bevy"
|
2021-07-23 21:11:51 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
2020-08-10 00:24:27 +00:00
|
|
|
keywords = ["bevy"]
|
2020-07-16 20:46:51 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2020-08-10 00:39:28 +00:00
|
|
|
# bevy
|
2024-02-21 20:58:59 +00:00
|
|
|
bevy_app = { path = "../bevy_app", version = "0.14.0-dev" }
|
|
|
|
bevy_asset = { path = "../bevy_asset", version = "0.14.0-dev" }
|
|
|
|
bevy_ecs = { path = "../bevy_ecs", version = "0.14.0-dev" }
|
2024-03-11 18:16:13 +00:00
|
|
|
bevy_hierarchy = { path = "../bevy_hierarchy", version = "0.14.0-dev" }
|
2024-02-21 20:58:59 +00:00
|
|
|
bevy_math = { path = "../bevy_math", version = "0.14.0-dev" }
|
|
|
|
bevy_reflect = { path = "../bevy_reflect", version = "0.14.0-dev", features = [
|
2023-11-21 01:04:14 +00:00
|
|
|
"bevy",
|
|
|
|
] }
|
2024-02-21 20:58:59 +00:00
|
|
|
bevy_transform = { path = "../bevy_transform", version = "0.14.0-dev" }
|
|
|
|
bevy_derive = { path = "../bevy_derive", version = "0.14.0-dev" }
|
|
|
|
bevy_utils = { path = "../bevy_utils", version = "0.14.0-dev" }
|
2020-08-10 00:39:28 +00:00
|
|
|
|
|
|
|
# other
|
2023-02-20 15:31:07 +00:00
|
|
|
rodio = { version = "0.17", default-features = false }
|
2020-08-11 06:30:42 +00:00
|
|
|
|
2023-02-06 18:08:49 +00:00
|
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
2024-03-05 17:23:12 +00:00
|
|
|
cpal = { version = "0.15", optional = true }
|
2023-02-06 18:08:49 +00:00
|
|
|
|
2021-11-11 01:17:38 +00:00
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
2023-11-21 01:04:14 +00:00
|
|
|
rodio = { version = "0.17", default-features = false, features = [
|
|
|
|
"wasm-bindgen",
|
|
|
|
] }
|
2021-11-11 01:17:38 +00:00
|
|
|
|
2020-08-11 06:30:42 +00:00
|
|
|
[features]
|
|
|
|
mp3 = ["rodio/mp3"]
|
|
|
|
flac = ["rodio/flac"]
|
|
|
|
wav = ["rodio/wav"]
|
|
|
|
vorbis = ["rodio/vorbis"]
|
2023-03-01 03:22:46 +00:00
|
|
|
minimp3 = ["rodio/minimp3"]
|
2023-01-09 19:05:30 +00:00
|
|
|
symphonia-aac = ["rodio/symphonia-aac"]
|
|
|
|
symphonia-all = ["rodio/symphonia-all"]
|
|
|
|
symphonia-flac = ["rodio/symphonia-flac"]
|
|
|
|
symphonia-isomp4 = ["rodio/symphonia-isomp4"]
|
|
|
|
symphonia-vorbis = ["rodio/symphonia-vorbis"]
|
|
|
|
symphonia-wav = ["rodio/symphonia-wav"]
|
2023-02-06 18:08:49 +00:00
|
|
|
# Enable using a shared stdlib for cxx on Android.
|
2024-03-05 17:23:12 +00:00
|
|
|
android_shared_stdcxx = ["cpal/oboe-shared-stdcxx"]
|
2023-11-18 20:58:48 +00:00
|
|
|
|
|
|
|
[lints]
|
|
|
|
workspace = true
|
2024-03-08 20:03:09 +00:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|