2021-12-03 21:13:19 +00:00
|
|
|
[package]
|
|
|
|
name = "mps-player"
|
2022-03-28 00:18:39 +01:00
|
|
|
version = "0.8.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-02-05 02:48:28 +00:00
|
|
|
rodio = { version = "^0.15", features = ["symphonia-all"]}
|
2021-12-03 21:13:19 +00:00
|
|
|
m3u8-rs = { version = "^3.0.0" }
|
|
|
|
|
|
|
|
# local
|
2022-03-28 00:18:39 +01:00
|
|
|
mps-interpreter = { path = "../mps-interpreter", version = "0.8.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-01-07 18:22:22 +00:00
|
|
|
mpris-player = { version = "^0.6.1", path = "../mpris-player", optional = true }
|
|
|
|
|
|
|
|
[features]
|
|
|
|
default = ["os-controls"]
|
|
|
|
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"]
|