mirror of
https://github.com/RustAudio/rodio
synced 2024-11-10 14:14:21 +00:00
41 lines
1.2 KiB
TOML
41 lines
1.2 KiB
TOML
[package]
|
|
name = "rodio"
|
|
version = "0.15.0"
|
|
authors = ["Pierre Krieger <pierre.krieger1708@gmail.com>"]
|
|
license = "MIT OR Apache-2.0"
|
|
description = "Audio playback library"
|
|
keywords = ["audio", "playback", "gamedev"]
|
|
repository = "https://github.com/RustAudio/rodio"
|
|
documentation = "http://docs.rs/rodio"
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
cpal = "0.13"
|
|
claxon = { version = "0.4.2", optional = true }
|
|
hound = { version = "3.3.1", optional = true }
|
|
lewton = { version = "0.10", optional = true }
|
|
minimp3 = { version = "0.5.0", optional = true }
|
|
symphonia = {version = "0.5", optional = true }
|
|
|
|
[features]
|
|
default = ["flac", "vorbis", "wav", "mp3"]
|
|
|
|
flac = ["claxon"]
|
|
vorbis = ["lewton"]
|
|
wav = ["hound"]
|
|
mp3 = ["minimp3"]
|
|
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"]
|
|
|
|
[dev-dependencies]
|
|
quickcheck = "0.9.2"
|
|
|
|
[[example]]
|
|
name = "music_m4a"
|
|
required-features = ["symphonia-isomp4", "symphonia-aac"]
|