muss/Cargo.toml

32 lines
964 B
TOML

[package]
name = "mps"
version = "0.4.0"
edition = "2021"
authors = ["NGnius (Graham) <ngniusness@gmail.com>"]
description = "Music Playlist Script language (MPS)"
license = "LGPL-2.1-only OR GPL-2.0-or-later"
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.4.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.4.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.4.0", path = "./mps-player", features = ["mpris-player"] }