muss/player/Cargo.toml

33 lines
835 B
TOML
Raw Normal View History

[package]
name = "mps-player"
2022-03-28 00:18:39 +01:00
version = "0.8.0"
edition = "2021"
2022-02-02 21:08:10 +00:00
license = "LGPL-2.1-only OR GPL-3.0-only"
readme = "README.md"
[dependencies]
rodio = { version = "^0.15", features = ["symphonia-all"]}
m3u8-rs = { version = "^3.0" }
fluent-uri = { version = "^0.1" }
2022-05-31 01:28:27 +01:00
mpd = { version = "0.0.12", optional = true }
# local
2022-07-01 21:20:52 +01:00
mps-interpreter = { path = "../interpreter", version = "0.8.0" }
[target.'cfg(target_os = "linux")'.dependencies]
#dbus = { version = "^0.9" }
mpris-player = { version = "^0.6", path = "../mpris-player", optional = true }
[features]
2022-05-31 01:28:27 +01:00
default = ["os-controls", "mpd"]
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"]