# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "kira" version = "0.9.6" authors = ["Andrew Minnich "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Expressive audio library for games" readme = "README.md" keywords = [ "gamedev", "audio", "music", ] categories = [ "game-development", "multimedia::audio", ] license = "MIT OR Apache-2.0" repository = "https://github.com/tesselode/kira" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "kira" path = "src/lib.rs" [[test]] name = "change_sample_rate" path = "tests/change_sample_rate.rs" [[test]] name = "streaming_sound_stops_on_error" path = "tests/streaming_sound_stops_on_error.rs" [[test]] name = "sync_send" path = "tests/sync_send.rs" [[test]] name = "tick_accuracy" path = "tests/tick_accuracy.rs" [dependencies.assert_no_alloc] version = "1.1.2" optional = true [dependencies.glam] version = "0.29.0" features = ["mint"] [dependencies.mint] version = "0.5.9" [dependencies.paste] version = "1.0.14" [dependencies.ringbuf] version = "0.3.1" [dependencies.serde] version = "1.0.164" features = ["derive"] optional = true [dependencies.symphonia] version = "0.5.0" optional = true default-features = false [dependencies.triple_buffer] version = "8.0.0" [dev-dependencies.approx] version = "0.5.1" [features] android_shared_stdcxx = ["cpal/oboe-shared-stdcxx"] default = [ "cpal", "mp3", "ogg", "flac", "wav", ] flac = [ "symphonia", "symphonia/flac", ] mp3 = [ "symphonia", "symphonia/mp3", ] ogg = [ "symphonia", "symphonia/ogg", "symphonia/vorbis", ] wav = [ "symphonia", "symphonia/wav", "symphonia/pcm", ] [target.'cfg(not(target_arch = "wasm32"))'.dependencies.cpal] version = "0.15.1" optional = true [target.'cfg(target_arch = "wasm32")'.dependencies.cpal] version = "0.15.1" features = ["wasm-bindgen"] optional = true [target.'cfg(target_arch = "wasm32")'.dependencies.send_wrapper] version = "0.6.0"