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]
|
2022-10-27 01:50:45 +01:00
|
|
|
rodio = { version = "^0.16", features = ["symphonia-all"]}
|
2022-05-29 17:02:06 +01:00
|
|
|
m3u8-rs = { version = "^3.0" }
|
2022-05-29 16:56:08 +01:00
|
|
|
fluent-uri = { version = "^0.1" }
|
2022-05-31 01:28:27 +01:00
|
|
|
mpd = { version = "0.0.12", 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" }
|
2022-05-29 17:02:06 +01:00
|
|
|
mpris-player = { version = "^0.6", path = "../mpris-player", optional = true }
|
2022-01-07 18:22:22 +00:00
|
|
|
|
|
|
|
[features]
|
2022-05-31 01:28:27 +01:00
|
|
|
default = ["os-controls", "mpd"]
|
2022-01-07 18:22:22 +00:00
|
|
|
os-controls = []
|
|
|
|
|
|
|
|
# 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"]
|