fix features, add mers feature, improve merscfg, add run-mers mode

This commit is contained in:
Mark
2024-01-16 20:17:11 +01:00
parent 5ffd71f520
commit d1f2db3e45
5 changed files with 111 additions and 39 deletions

View File

@@ -12,9 +12,20 @@ musicdb-lib = { version = "0.1.0", path = "../musicdb-lib" }
regex = "1.9.3"
speedy2d = { version = "1.12.0", optional = true }
toml = "0.7.6"
mers_lib = { version = "0.3.1", optional = true }
mers_lib = { version = "0.3.2", optional = true }
musicdb-mers = { version = "0.1.0", path = "../musicdb-mers", optional = true }
[features]
default = ["speedy2d"]
default = ["gui"]
# gui:
# enables the gui mode
# merscfg:
# allows using mers to configure the gui
# mers:
# enables the run-mers mode
# playback:
# enables Symcplayer modes, where the client mirrors the server's playback
gui = ["speedy2d"]
merscfg = ["mers_lib", "musicdb-mers", "speedy2d"]
mers = ["mers_lib", "musicdb-mers"]
playback = ["musicdb-lib/playback"]
merscfg = ["mers_lib"]