217 lines
3.9 KiB
TOML
217 lines
3.9 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.20.1"
|
|
build = false
|
|
exclude = [
|
|
"assets/**",
|
|
"tests/**",
|
|
]
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
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"
|
|
|
|
[lib]
|
|
name = "rodio"
|
|
path = "src/lib.rs"
|
|
|
|
[[example]]
|
|
name = "automatic_gain_control"
|
|
path = "examples/automatic_gain_control.rs"
|
|
|
|
[[example]]
|
|
name = "basic"
|
|
path = "examples/basic.rs"
|
|
|
|
[[example]]
|
|
name = "mix_multiple_sources"
|
|
path = "examples/mix_multiple_sources.rs"
|
|
|
|
[[example]]
|
|
name = "music_flac"
|
|
path = "examples/music_flac.rs"
|
|
|
|
[[example]]
|
|
name = "music_m4a"
|
|
path = "examples/music_m4a.rs"
|
|
required-features = [
|
|
"symphonia-isomp4",
|
|
"symphonia-aac",
|
|
]
|
|
|
|
[[example]]
|
|
name = "music_mp3"
|
|
path = "examples/music_mp3.rs"
|
|
|
|
[[example]]
|
|
name = "music_ogg"
|
|
path = "examples/music_ogg.rs"
|
|
|
|
[[example]]
|
|
name = "music_wav"
|
|
path = "examples/music_wav.rs"
|
|
|
|
[[example]]
|
|
name = "noise_generator"
|
|
path = "examples/noise_generator.rs"
|
|
required-features = ["noise"]
|
|
|
|
[[example]]
|
|
name = "reverb"
|
|
path = "examples/reverb.rs"
|
|
|
|
[[example]]
|
|
name = "seek_mp3"
|
|
path = "examples/seek_mp3.rs"
|
|
|
|
[[example]]
|
|
name = "signal_generator"
|
|
path = "examples/signal_generator.rs"
|
|
|
|
[[example]]
|
|
name = "spatial"
|
|
path = "examples/spatial.rs"
|
|
|
|
[[example]]
|
|
name = "stereo"
|
|
path = "examples/stereo.rs"
|
|
|
|
[[bench]]
|
|
name = "conversions"
|
|
path = "benches/conversions.rs"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "effects"
|
|
path = "benches/effects.rs"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "shared"
|
|
path = "benches/shared.rs"
|
|
|
|
[dependencies.atomic_float]
|
|
version = "1.1.0"
|
|
optional = true
|
|
|
|
[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.rand]
|
|
version = "0.8.5"
|
|
features = ["small_rng"]
|
|
optional = true
|
|
|
|
[dependencies.symphonia]
|
|
version = "0.5.4"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.tracing]
|
|
version = "0.1.40"
|
|
optional = true
|
|
|
|
[dev-dependencies.approx]
|
|
version = "0.5.1"
|
|
|
|
[dev-dependencies.dasp_sample]
|
|
version = "0.11.0"
|
|
|
|
[dev-dependencies.divan]
|
|
version = "0.1.14"
|
|
|
|
[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",
|
|
]
|
|
experimental = ["dep:atomic_float"]
|
|
flac = ["claxon"]
|
|
minimp3 = ["dep:minimp3_fixed"]
|
|
mp3 = ["symphonia-mp3"]
|
|
noise = ["rand"]
|
|
symphonia-aac = ["symphonia/aac"]
|
|
symphonia-aiff = [
|
|
"symphonia/aiff",
|
|
"symphonia/pcm",
|
|
]
|
|
symphonia-alac = [
|
|
"symphonia/isomp4",
|
|
"symphonia/alac",
|
|
]
|
|
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",
|
|
]
|
|
tracing = ["dep:tracing"]
|
|
vorbis = ["lewton"]
|
|
wasm-bindgen = ["cpal/wasm-bindgen"]
|
|
wav = ["hound"]
|