33 lines
1.0 KiB
TOML
33 lines
1.0 KiB
TOML
[package]
|
|
name = "audio-player"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
|
|
# The one axis worth a flag: Ogg-Opus decoding pulls symphonia *and*
|
|
# `symphonia-adapter-libopus`, which bundles libopus and so makes cmake +
|
|
# ninja build requirements. Everything else in this crate (HLS, the
|
|
# windowed-HTTP source, the spectrum tap) shares its dependencies with
|
|
# code that always ships, so gating it would buy nothing
|
|
# (architecture/build-features.md D6/D7/D8).
|
|
[features]
|
|
default = ["opus"]
|
|
opus = ["dep:symphonia", "dep:symphonia-adapter-libopus"]
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
bytes.workspace = true
|
|
flume.workspace = true
|
|
futures.workspace = true
|
|
reqwest.workspace = true
|
|
rodio.workspace = true
|
|
stream-download.workspace = true
|
|
symphonia = { workspace = true, optional = true }
|
|
symphonia-adapter-libopus = { workspace = true, optional = true }
|
|
thiserror.workspace = true
|
|
tokio = { workspace = true, features = ["rt", "rt-multi-thread"] }
|
|
tracing.workspace = true
|
|
url.workspace = true
|
|
|
|
[dev-dependencies]
|
|
tokio = { workspace = true, features = ["full"] }
|