[dependencies.bevy_app]
version = "0.18.0"
[dependencies.bevy_asset]
version = "0.18.0"
[dependencies.bevy_ecs]
version = "0.18.0"
[dependencies.bevy_math]
version = "0.18.0"
[dependencies.bevy_reflect]
version = "0.18.0"
[dependencies.bevy_transform]
version = "0.18.0"
[dependencies.rodio]
default-features = false
version = "0.20"
[dependencies.tracing]
default-features = false
features = ["std"]
version = "0.1"
[features]
android_shared_stdcxx = ["cpal/oboe-shared-stdcxx"]
flac = ["rodio/flac"]
mp3 = ["rodio/mp3"]
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"]
vorbis = ["rodio/vorbis"]
wav = ["rodio/wav"]
[lib]
name = "bevy_audio"
path = "src/lib.rs"
[lints.clippy]
alloc_instead_of_core = "warn"
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
doc_markdown = "warn"
manual_let_else = "warn"
match_same_arms = "warn"
needless_lifetimes = "allow"
nonstandard_macro_braces = "warn"
print_stderr = "warn"
print_stdout = "warn"
ptr_as_ptr = "warn"
ptr_cast_constness = "warn"
redundant_closure_for_method_calls = "warn"
redundant_else = "warn"
ref_as_ptr = "warn"
semicolon_if_nothing_returned = "warn"
std_instead_of_alloc = "warn"
std_instead_of_core = "warn"
too_long_first_doc_paragraph = "allow"
too_many_arguments = "allow"
type_complexity = "allow"
undocumented_unsafe_blocks = "warn"
unwrap_or_default = "warn"
[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"
unsafe_op_in_unsafe_fn = "warn"
unused_qualifications = "warn"
[lints.rust.unexpected_cfgs]
check-cfg = ["cfg(docsrs_dep)"]
level = "warn"
priority = 0
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Provides audio functionality for Bevy Engine"
edition = "2024"
homepage = "https://bevy.org"
keywords = ["bevy"]
license = "MIT OR Apache-2.0"
name = "bevy_audio"
readme = "README.md"
repository = "https://github.com/bevyengine/bevy"
resolver = "2"
version = "0.18.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
[target.'cfg(target_arch = "wasm32")'.dependencies.bevy_app]
default-features = false
features = ["web"]
version = "0.18.0"
[target.'cfg(target_arch = "wasm32")'.dependencies.bevy_reflect]
default-features = false
features = ["web"]
version = "0.18.0"
[target.'cfg(target_arch = "wasm32")'.dependencies.rodio]
default-features = false
features = ["wasm-bindgen"]
version = "0.20"
[target.'cfg(target_os = "android")'.dependencies.cpal]
optional = true
version = "0.15"
[target.'cfg(target_vendor = "apple")'.dependencies.coreaudio-sys]
default-features = false
version = "0.2.17"