mirror of
https://github.com/Dummi26/musicdb.git
synced 2025-03-10 05:43:53 +01:00

server can now source its database and files from another server, but it will have its own queue and appears as separate to clients. the client now has gui-syncplayer-{local,network} modes which show the gui and also play the songs. using a syncplayer-network mode now automatically enables the cache manager, which should make waiting for songs to load less frequent.
22 lines
673 B
TOML
22 lines
673 B
TOML
[package]
|
|
name = "musicdb-server"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
musicdb-lib = { path = "../musicdb-lib" }
|
|
clap = { version = "4.4.6", features = ["derive"] }
|
|
headers = "0.3.8"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
tokio = { version = "1.37.0", optional = true, features = ["rt"] }
|
|
rocket = { version = "0.5.0", optional = true }
|
|
html-escape = { version = "0.2.13", optional = true }
|
|
|
|
[features]
|
|
default = ["website", "playback"]
|
|
website = ["dep:tokio", "dep:rocket", "dep:html-escape"]
|
|
playback = ["musicdb-lib/playback"]
|