[package]
name = "termusic-playback"
description = "playback library to support termusic."
version.workspace = true
authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
keywords.workspace = true
categories.workspace = true
rust-version.workspace = true
[lib]
name = "termusicplayback"
path = "src/lib.rs"
doctest = false
[dependencies]
termusic-lib.workspace = true
anyhow.workspace = true
async-channel.workspace = true
async-trait.workspace = true
base64.workspace = true
cpal.workspace = true
discord-rich-presence.workspace = true
glib = { workspace = true, optional = true }
gstreamer = { workspace = true, optional = true}
lazy_static.workspace = true
libmpv-sirno = { workspace = true, optional = true }
log.workspace = true
parking_lot.workspace = true
pathdiff.workspace = true
prost.workspace = true
rand.workspace = true
reqwest.workspace = true
serde.workspace = true
souvlaki.workspace = true
stream-download.workspace = true
symphonia.workspace = true
tokio.workspace = true
tonic.workspace = true
[target.'cfg(any(target_os = "windows", target_os = "macos"))'.dependencies.winit]
version = "0.29.10"
[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.54.0"
features = [
"Win32_Foundation",
"Win32_Graphics_Gdi",
"Win32_System_LibraryLoader",
"Win32_UI_WindowsAndMessaging"
]
[features]
default = ["rusty"]
gst = ["dep:gstreamer", "dep:glib"]
mpv = ["dep:libmpv-sirno"]
rusty = []
all-backends = ["gst", "mpv", "rusty"]
[dev-dependencies]
pretty_assertions.workspace = true
[build-dependencies]
tonic-build.workspace = true