muss/player/Cargo.toml

35 lines
1 KiB
TOML
Raw Normal View History

[package]
2022-07-01 22:33:37 +01:00
name = "muss-player"
version = "0.9.0"
edition = "2021"
2022-02-02 21:08:10 +00:00
license = "LGPL-2.1-only OR GPL-3.0-only"
2023-07-15 21:15:50 +01:00
repository = "https://git.ngni.us/NGnius/muss"
readme = "README.md"
[dependencies]
rodio = { version = "0.17", features = ["symphonia-all"], path = "../../rodio", default-features = false}
m3u8-rs = { version = "^3.0" }
2023-07-14 22:52:17 +01:00
mpd = { version = "0.1", optional = true }
# local
muss-interpreter = { path = "../interpreter", version = "0.9.0" }
[target.'cfg(target_os = "linux")'.dependencies]
#dbus = { version = "^0.9" }
# TODO replace mpris-player, maybe with mpris2-zbus https://github.com/pop-os/dbus-settings-bindings/tree/main/mpris2
mpris-player = { version = "^0.6", path = "../mpris-player", optional = true }
base64 = { version = "0.13", optional = true }
[features]
2022-05-31 01:28:27 +01:00
default = ["os-controls", "mpd"]
os-controls = ["base64"]
# I wish this worked...
#[target.'cfg(not(target_os = "linux"))'.features]
#default = ["os-controls"]
#os-controls = []
#[target.'cfg(target_os = "linux")'.features]
#default = ["os-controls"]
#os-controls = ["mpris-player"]