2021-12-03 21:13:19 +00:00
|
|
|
[package]
|
2022-07-01 22:33:37 +01:00
|
|
|
name = "muss-player"
|
2022-07-09 02:24:46 +01:00
|
|
|
version = "0.9.0"
|
2021-12-03 21:13:19 +00:00
|
|
|
edition = "2021"
|
2022-02-02 21:08:10 +00:00
|
|
|
license = "LGPL-2.1-only OR GPL-3.0-only"
|
2022-01-01 04:39:06 +00:00
|
|
|
readme = "README.md"
|
2021-12-03 21:13:19 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2023-01-25 03:44:56 +00:00
|
|
|
rodio = { version = "^0.16", features = ["symphonia-all"], default-features = false}
|
2022-05-29 17:02:06 +01:00
|
|
|
m3u8-rs = { version = "^3.0" }
|
2023-07-14 22:52:17 +01:00
|
|
|
mpd = { version = "0.1", optional = true }
|
2021-12-03 21:13:19 +00:00
|
|
|
|
|
|
|
# local
|
2022-07-09 02:24:46 +01:00
|
|
|
muss-interpreter = { path = "../interpreter", version = "0.9.0" }
|
2021-12-10 21:53:22 +00:00
|
|
|
|
2022-01-07 18:22:22 +00:00
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
2021-12-10 21:53:22 +00:00
|
|
|
#dbus = { version = "^0.9" }
|
2023-07-10 23:21:51 +01:00
|
|
|
# TODO replace mpris-player, maybe with mpris2-zbus https://github.com/pop-os/dbus-settings-bindings/tree/main/mpris2
|
2022-05-29 17:02:06 +01:00
|
|
|
mpris-player = { version = "^0.6", path = "../mpris-player", optional = true }
|
2023-03-26 03:28:39 +01:00
|
|
|
base64 = { version = "0.13", optional = true }
|
2022-01-07 18:22:22 +00:00
|
|
|
|
|
|
|
[features]
|
2022-05-31 01:28:27 +01:00
|
|
|
default = ["os-controls", "mpd"]
|
2023-03-26 03:28:39 +01:00
|
|
|
os-controls = ["base64"]
|
2022-01-07 18:22:22 +00:00
|
|
|
|
|
|
|
# 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"]
|