[build-dependencies.tonic-build]
version = "0.12"
[dependencies.anyhow]
features = ["backtrace"]
version = "1.0"
[dependencies.async-channel]
version = "2.2"
[dependencies.async-trait]
version = "0.1"
[dependencies.base64]
version = "0.22"
[dependencies.cpal]
optional = true
version = "^0.15"
[dependencies.discord-rich-presence]
version = "0.2"
[dependencies.glib]
optional = true
version = "0.20"
[dependencies.gstreamer]
optional = true
version = "0.23"
[dependencies.lazy_static]
version = "1.4"
[dependencies.libmpv-sirno]
optional = true
version = "2.0.2-fork.1"
[dependencies.log]
version = "0.4"
[dependencies.parking_lot]
version = "^0.12"
[dependencies.pathdiff]
features = ["camino"]
version = "0.2"
[dependencies.prost]
version = "0.13"
[dependencies.rand]
version = "0.8"
[dependencies.reqwest]
features = ["cookies", "gzip", "json", "stream"]
version = "0.12"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.soundtouch]
optional = true
version = "0.4"
[dependencies.souvlaki]
version = "0.7.2"
[dependencies.stream-download]
features = ["reqwest-rustls"]
optional = true
version = "0.6.0"
[dependencies.symphonia]
features = ["default", "aac", "mp3", "isomp4", "alac", "flac", "mkv"]
optional = true
version = "0.5.1"
[dependencies.termusic-lib]
version = "0.9.1"
[dependencies.tokio]
features = ["sync", "macros", "rt", "rt-multi-thread"]
version = "1.37"
[dependencies.tonic]
version = "0.12"
[dev-dependencies.pretty_assertions]
version = "1.4"
[features]
all-backends = ["gst", "mpv", "rusty"]
default = []
gst = ["dep:gstreamer", "dep:glib"]
mpv = ["dep:libmpv-sirno"]
rusty = ["dep:symphonia", "dep:stream-download", "dep:cpal"]
rusty-soundtouch = ["dep:soundtouch"]
[lib]
doctest = false
name = "termusicplayback"
path = "src/lib.rs"
[package]
authors = ["tramhao <haoxinkui@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = "build.rs"
categories = ["command-line-interface", "command-line-utilities", "multimedia::audio"]
description = "playback library to support termusic."
edition = "2021"
homepage = "https://github.com/tramhao/termusic"
keywords = ["terminal", "tui", "music", "youtube", "podcast"]
license = "MIT"
name = "termusic-playback"
readme = "README.md"
repository = "https://github.com/tramhao/termusic"
rust-version = "1.77"
version = "0.9.1"
[target.'cfg(target_os = "windows")'.dependencies.windows]
features = ["Win32_Foundation", "Win32_Graphics_Gdi", "Win32_System_LibraryLoader", "Win32_UI_WindowsAndMessaging"]
version = "0.58.0"