110 lines
2.2 KiB
TOML
110 lines
2.2 KiB
TOML
# 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 = "rodio"
|
|
version = "0.19.0"
|
|
exclude = [
|
|
"assets/**",
|
|
"tests/**",
|
|
]
|
|
description = "Audio playback library"
|
|
documentation = "https://docs.rs/rodio"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"audio",
|
|
"playback",
|
|
"gamedev",
|
|
]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/RustAudio/rodio"
|
|
|
|
[[example]]
|
|
name = "music_m4a"
|
|
required-features = [
|
|
"symphonia-isomp4",
|
|
"symphonia-aac",
|
|
]
|
|
|
|
[dependencies.claxon]
|
|
version = "0.4.2"
|
|
optional = true
|
|
|
|
[dependencies.cpal]
|
|
version = "0.15.3"
|
|
|
|
[dependencies.crossbeam-channel]
|
|
version = "0.5.8"
|
|
optional = true
|
|
|
|
[dependencies.hound]
|
|
version = "3.3.1"
|
|
optional = true
|
|
|
|
[dependencies.lewton]
|
|
version = "0.10"
|
|
optional = true
|
|
|
|
[dependencies.minimp3_fixed]
|
|
version = "0.5.4"
|
|
optional = true
|
|
|
|
[dependencies.symphonia]
|
|
version = "0.5.4"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.thiserror]
|
|
version = "1.0.49"
|
|
|
|
[dev-dependencies.quickcheck]
|
|
version = "0.9.2"
|
|
|
|
[dev-dependencies.rstest]
|
|
version = "0.18.2"
|
|
|
|
[dev-dependencies.rstest_reuse]
|
|
version = "0.6.0"
|
|
|
|
[features]
|
|
cpal-shared-stdcxx = ["cpal/oboe-shared-stdcxx"]
|
|
default = [
|
|
"flac",
|
|
"vorbis",
|
|
"wav",
|
|
"mp3",
|
|
]
|
|
flac = ["claxon"]
|
|
minimp3 = ["dep:minimp3_fixed"]
|
|
mp3 = ["symphonia-mp3"]
|
|
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",
|
|
]
|
|
vorbis = ["lewton"]
|
|
wasm-bindgen = ["cpal/wasm-bindgen"]
|
|
wav = ["hound"]
|