2021-12-03 21:13:19 +00:00
|
|
|
[package]
|
|
|
|
name = "mps-player"
|
2022-01-21 00:52:03 +00:00
|
|
|
version = "0.3.0"
|
2021-12-03 21:13:19 +00:00
|
|
|
edition = "2021"
|
2022-01-01 04:39:06 +00:00
|
|
|
license = "LGPL-2.1-only OR GPL-2.0-or-later"
|
|
|
|
readme = "README.md"
|
2021-12-03 21:13:19 +00:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
rodio = { version = "^0.14"}
|
|
|
|
m3u8-rs = { version = "^3.0.0" }
|
|
|
|
|
|
|
|
# local
|
2022-01-21 00:52:03 +00:00
|
|
|
mps-interpreter = { path = "../mps-interpreter", version = "0.3.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"]
|