2015-07-22 10:14:11 +00:00
|
|
|
[package]
|
|
|
|
name = "rodio"
|
2024-06-29 21:13:46 +00:00
|
|
|
version = "0.19.0"
|
2020-10-04 23:09:40 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
2015-07-22 11:43:27 +00:00
|
|
|
description = "Audio playback library"
|
2015-07-22 11:50:34 +00:00
|
|
|
keywords = ["audio", "playback", "gamedev"]
|
2019-11-16 07:02:42 +00:00
|
|
|
repository = "https://github.com/RustAudio/rodio"
|
2023-05-21 06:02:32 +00:00
|
|
|
documentation = "https://docs.rs/rodio"
|
2022-03-26 19:15:18 +00:00
|
|
|
exclude = ["assets/**", "tests/**"]
|
2023-02-17 21:14:05 +00:00
|
|
|
edition = "2021"
|
2015-07-22 10:14:11 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2024-04-21 10:52:29 +00:00
|
|
|
cpal = "0.15.3"
|
2019-05-21 02:20:29 +00:00
|
|
|
claxon = { version = "0.4.2", optional = true }
|
2018-03-19 19:41:47 +00:00
|
|
|
hound = { version = "3.3.1", optional = true }
|
2020-01-30 12:42:53 +00:00
|
|
|
lewton = { version = "0.10", optional = true }
|
2023-10-10 12:26:12 +00:00
|
|
|
minimp3_fixed = { version = "0.5.4", optional = true}
|
2024-06-06 21:41:09 +00:00
|
|
|
symphonia = { version = "0.5.4", optional = true, default-features = false }
|
2023-05-25 08:25:00 +00:00
|
|
|
crossbeam-channel = { version = "0.5.8", optional = true }
|
2023-10-07 12:35:23 +00:00
|
|
|
thiserror = "1.0.49"
|
2017-10-29 15:57:21 +00:00
|
|
|
|
|
|
|
[features]
|
2018-05-26 23:32:16 +00:00
|
|
|
default = ["flac", "vorbis", "wav", "mp3"]
|
2017-10-29 15:57:21 +00:00
|
|
|
|
|
|
|
flac = ["claxon"]
|
|
|
|
vorbis = ["lewton"]
|
|
|
|
wav = ["hound"]
|
2022-11-12 04:08:36 +00:00
|
|
|
mp3 = ["symphonia-mp3"]
|
2023-10-10 12:26:12 +00:00
|
|
|
minimp3 = ["dep:minimp3_fixed"]
|
2020-12-09 12:49:36 +00:00
|
|
|
wasm-bindgen = ["cpal/wasm-bindgen"]
|
2024-03-05 12:03:19 +00:00
|
|
|
cpal-shared-stdcxx = ["cpal/oboe-shared-stdcxx"]
|
2021-06-29 07:12:28 +00:00
|
|
|
symphonia-aac = ["symphonia/aac"]
|
2022-01-25 01:19:56 +00:00
|
|
|
symphonia-all = ["symphonia-aac", "symphonia-flac", "symphonia-isomp4", "symphonia-mp3", "symphonia-vorbis", "symphonia-wav"]
|
2021-06-29 07:12:28 +00:00
|
|
|
symphonia-flac = ["symphonia/flac"]
|
|
|
|
symphonia-isomp4 = ["symphonia/isomp4"]
|
|
|
|
symphonia-mp3 = ["symphonia/mp3"]
|
2022-01-25 01:19:56 +00:00
|
|
|
symphonia-vorbis = ["symphonia/vorbis"]
|
2023-01-25 09:32:46 +00:00
|
|
|
symphonia-wav = ["symphonia/wav", "symphonia/pcm", "symphonia/adpcm"]
|
2020-10-01 13:53:11 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
quickcheck = "0.9.2"
|
2024-04-04 14:26:42 +00:00
|
|
|
rstest = "0.18.2"
|
|
|
|
rstest_reuse = "0.6.0"
|
2021-06-29 07:12:28 +00:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "music_m4a"
|
2022-01-25 01:19:56 +00:00
|
|
|
required-features = ["symphonia-isomp4", "symphonia-aac"]
|