32 lines
960 B
TOML
32 lines
960 B
TOML
[package]
|
|
name = "mps"
|
|
version = "0.5.0"
|
|
edition = "2021"
|
|
authors = ["NGnius (Graham) <ngniusness@gmail.com>"]
|
|
description = "Music Playlist Script language (MPS)"
|
|
license = "LGPL-2.1-only OR GPL-3.0-only"
|
|
repository = "https://github.com/NGnius/mps"
|
|
keywords = ["audio", "playlist", "scripting", "language"]
|
|
readme = "README.md"
|
|
exclude = ["extras/"]
|
|
|
|
[workspace]
|
|
members = [
|
|
"mps-interpreter",
|
|
"mps-player",
|
|
"mps-m3u8"
|
|
]
|
|
|
|
[dependencies]
|
|
# local
|
|
mps-interpreter = { version = "0.5.0", path = "./mps-interpreter" }
|
|
# external
|
|
clap = { version = "3.0", features = ["derive"] }
|
|
# termios = { version = "^0.3"}
|
|
|
|
[target.'cfg(not(target_os = "linux"))'.dependencies]
|
|
mps-player = { version = "0.5.0", path = "./mps-player", default-features = false }
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
# TODO fix need to specify OS-specific dependency of mps-player
|
|
mps-player = { version = "0.5.0", path = "./mps-player", features = ["mpris-player"] }
|