rodio/Cargo.toml

44 lines
1.3 KiB
TOML
Raw Normal View History

2015-07-22 10:14:11 +00:00
[package]
name = "rodio"
2023-10-01 16:44:56 +00:00
version = "0.18.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"
documentation = "https://docs.rs/rodio"
exclude = ["assets/**", "tests/**"]
2023-02-17 21:14:05 +00:00
edition = "2021"
2015-07-22 10:14:11 +00:00
[dependencies]
2023-02-17 12:05:23 +00:00
cpal = "0.15"
claxon = { version = "0.4.2", optional = true }
hound = { version = "3.3.1", optional = true }
2020-01-30 12:42:53 +00:00
lewton = { version = "0.10", optional = true }
minimp3_fixed = { version = "0.5.4", optional = true}
2023-02-25 18:59:38 +00:00
symphonia = { version = "0.5.2", optional = true, default-features = false }
crossbeam-channel = { version = "0.5.8", optional = true }
[features]
default = ["flac", "vorbis", "wav", "mp3"]
flac = ["claxon"]
vorbis = ["lewton"]
wav = ["hound"]
mp3 = ["symphonia-mp3"]
minimp3 = ["dep:minimp3_fixed"]
wasm-bindgen = ["cpal/wasm-bindgen"]
symphonia-aac = ["symphonia/aac"]
symphonia-all = ["symphonia-aac", "symphonia-flac", "symphonia-isomp4", "symphonia-mp3", "symphonia-vorbis", "symphonia-wav"]
symphonia-flac = ["symphonia/flac"]
symphonia-isomp4 = ["symphonia/isomp4"]
symphonia-mp3 = ["symphonia/mp3"]
symphonia-vorbis = ["symphonia/vorbis"]
symphonia-wav = ["symphonia/wav", "symphonia/pcm", "symphonia/adpcm"]
[dev-dependencies]
quickcheck = "0.9.2"
[[example]]
name = "music_m4a"
required-features = ["symphonia-isomp4", "symphonia-aac"]