2021-12-03 21:13:19 +00:00
|
|
|
[package]
|
|
|
|
name = "mps"
|
2022-02-23 22:14:30 +00:00
|
|
|
version = "0.6.0"
|
2021-12-03 21:13:19 +00:00
|
|
|
edition = "2021"
|
|
|
|
authors = ["NGnius (Graham) <ngniusness@gmail.com>"]
|
2022-01-26 20:36:31 +00:00
|
|
|
description = "Music Playlist Script language (MPS)"
|
2022-02-02 21:08:10 +00:00
|
|
|
license = "LGPL-2.1-only OR GPL-3.0-only"
|
2022-01-25 15:03:27 +00:00
|
|
|
repository = "https://github.com/NGnius/mps"
|
|
|
|
keywords = ["audio", "playlist", "scripting", "language"]
|
2022-01-01 04:39:06 +00:00
|
|
|
readme = "README.md"
|
2022-01-26 20:36:31 +00:00
|
|
|
exclude = ["extras/"]
|
2021-12-03 21:13:19 +00:00
|
|
|
|
|
|
|
[workspace]
|
|
|
|
members = [
|
|
|
|
"mps-interpreter",
|
2022-01-28 19:32:52 +00:00
|
|
|
"mps-player",
|
|
|
|
"mps-m3u8"
|
2021-12-03 21:13:19 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
# local
|
2022-02-23 22:14:30 +00:00
|
|
|
mps-interpreter = { version = "0.6.0", path = "./mps-interpreter" }
|
2022-01-03 01:20:09 +00:00
|
|
|
# external
|
|
|
|
clap = { version = "3.0", features = ["derive"] }
|
2022-01-17 02:00:00 +00:00
|
|
|
# termios = { version = "^0.3"}
|
2022-01-07 18:22:22 +00:00
|
|
|
|
|
|
|
[target.'cfg(not(target_os = "linux"))'.dependencies]
|
2022-02-23 22:14:30 +00:00
|
|
|
mps-player = { version = "0.6.0", path = "./mps-player", default-features = false }
|
2022-01-07 18:22:22 +00:00
|
|
|
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
|
|
# TODO fix need to specify OS-specific dependency of mps-player
|
2022-02-23 22:14:30 +00:00
|
|
|
mps-player = { version = "0.6.0", path = "./mps-player", features = ["mpris-player"] }
|
2022-02-24 21:09:27 +00:00
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
debug = true
|
|
|
|
strip = true
|
|
|
|
lto = true
|
|
|
|
codegen-units = 4
|
|
|
|
|
|
|
|
[profile.dev.package.bliss-audio]
|
|
|
|
debug-assertions = false
|
|
|
|
overflow-checks = false
|
|
|
|
debug = true
|
|
|
|
opt-level = 3
|
|
|
|
|
|
|
|
[profile.dev.package."*"]
|
|
|
|
debug-assertions = false
|
|
|
|
overflow-checks = false
|
|
|
|
debug = true
|
|
|
|
opt-level = 3
|