bevy/crates/bevy_audio/Cargo.toml

33 lines
892 B
TOML
Raw Normal View History

[package]
name = "bevy_audio"
2021-04-06 18:48:48 +00:00
version = "0.5.0"
2020-08-10 00:24:27 +00:00
edition = "2018"
2020-09-10 19:54:24 +00:00
authors = [
"Bevy Contributors <bevyengine@gmail.com>",
"Carter Anderson <mcanders1@gmail.com>",
]
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"
license = "MIT"
keywords = ["bevy"]
[dependencies]
# bevy
2021-04-06 18:48:48 +00:00
bevy_app = { path = "../bevy_app", version = "0.5.0" }
bevy_asset = { path = "../bevy_asset", version = "0.5.0" }
bevy_ecs = { path = "../bevy_ecs", version = "0.5.0" }
bevy_reflect = { path = "../bevy_reflect", version = "0.5.0", features = ["bevy"] }
bevy_utils = { path = "../bevy_utils", version = "0.5.0" }
# other
anyhow = "1.0"
Update rodio requirement from 0.13 to 0.14 (#2244) Updates the requirements on [rodio](https://github.com/RustAudio/rodio) to permit the latest version. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/RustAudio/rodio/blob/master/CHANGELOG.md">rodio's changelog</a>.</em></p> <blockquote> <h1>Version 0.14.0 (2021-05-21)</h1> <ul> <li>Re-export <code>cpal</code> in full.</li> <li>Replace panics when calling <code>OutputStream::try_default</code>, <code>OutputStream::try_from_device</code> with new <code>StreamError</code> variants.</li> <li><code>OutputStream::try_default</code> will now fallback to non-default output devices if an <code>OutputStream</code> cannot be created from the default device.</li> </ul> <h1>Version 0.13.1 (2021-03-28)</h1> <ul> <li>Fix panic when no <code>pulseaudio-alsa</code> was installed.</li> </ul> <h1>Version 0.13.0 (2020-11-03)</h1> <ul> <li>Update <code>cpal</code> to <a href="https://github.com/RustAudio/cpal/blob/master/CHANGELOG.md#version-0130-2020-10-28">0.13</a>.</li> <li>Add Android support.</li> </ul> <h1>Version 0.12.0 (2020-10-05)</h1> <ul> <li>Breaking: Update <code>cpal</code> to <a href="https://github.com/RustAudio/cpal/blob/master/CHANGELOG.md#version-0120-2020-07-09">0.12</a>.</li> <li>Breaking: Rework API removing global &quot;rodio audio processing&quot; thread &amp; adapting to the upstream cpal API changes.</li> <li>Add new_X format specific methods to Decoder.</li> <li>Fix resampler dependency on internal <code>Vec::capacity</code> behaviour.</li> </ul> <h1>Version 0.11.0 (2020-03-16)</h1> <ul> <li>Update <code>lewton</code> to <a href="https://github.com/RustAudio/lewton/blob/master/CHANGELOG.md#release-0100---january-30-2020">0.10</a>.</li> <li>Breaking: Update <code>cpal</code> to <a href="https://github.com/RustAudio/cpal/blob/master/CHANGELOG.md#version-0110-2019-12-11">0.11</a></li> </ul> <h1>Version 0.10.0 (2019-11-16)</h1> <ul> <li>Removal of nalgebra in favour of own code.</li> <li>Fix a bug that switched channels when resuming after having paused.</li> <li>Attempt all supported output formats if the default format fails in <code>Sink::new</code>.</li> <li>Breaking: Update <code>cpal</code> to <a href="https://github.com/RustAudio/cpal/blob/master/CHANGELOG.md#version-0100-2019-07-05">0.10</a>.</li> </ul> <h1>Version 0.9.0 (2019-06-08)</h1> <ul> <li>Remove exclusive <code>&amp;mut</code> borrow requirements in <code>Sink</code> &amp; <code>SpatialSink</code> setters.</li> <li>Use <code>nalgebra</code> instead of <code>cgmath</code> for <code>Spatial</code> source.</li> </ul> <h1>Version 0.8.1 (2018-09-18)</h1> <ul> <li>Update <code>lewton</code> dependency to <a href="https://github.com/RustAudio/lewton/blob/master/CHANGELOG.md#release-090---august-16-2018">0.9</a></li> <li>Change license from <code>Apache-2.0</code> only to <code>Apache-2.0 OR MIT</code></li> </ul> <h1>Version 0.8.0 (2018-06-22)</h1> <ul> <li>Add mp3 decoding capabilities via <code>minimp3</code></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/RustAudio/rodio/commits">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
2021-05-29 01:08:58 +00:00
rodio = { version = "0.14", default-features = false }
2020-09-10 19:54:24 +00:00
parking_lot = "0.11.0"
[features]
mp3 = ["rodio/mp3"]
flac = ["rodio/flac"]
wav = ["rodio/wav"]
vorbis = ["rodio/vorbis"]