37 lines
1.1 KiB
TOML
37 lines
1.1 KiB
TOML
[package]
|
|
name = "pmomediaserver"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
pmoupnp = { path = "../pmoupnp" }
|
|
pmodidl = { path = "../pmodidl" }
|
|
pmosource = { path = "../pmosource", features = ["server"] }
|
|
pmoserver = { path = "../pmoserver" }
|
|
|
|
once_cell = "1.20"
|
|
bevy_reflect = "0.17.1"
|
|
tokio = { version = "1", features = ["sync"] }
|
|
async-trait = "0.1"
|
|
tracing = "0.1"
|
|
quick-xml = { version = "0.38.3", features = ["serialize"] }
|
|
thiserror = "1.0"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
|
|
# Optional dependencies
|
|
axum = { version = "0.8", optional = true }
|
|
utoipa = { version = "5.3", optional = true }
|
|
pmoqobuz = { path = "../pmoqobuz", optional = true }
|
|
pmoparadise = { path = "../pmoparadise", optional = true }
|
|
pmoconfig = { path = "../pmoconfig", optional = true }
|
|
|
|
[features]
|
|
default = []
|
|
# Feature pour activer l'API REST de gestion des sources
|
|
api = ["dep:axum", "dep:utoipa"]
|
|
# Feature pour activer le support Qobuz configuré
|
|
qobuz = ["dep:pmoqobuz", "dep:pmoconfig", "pmoqobuz/cache"]
|
|
# Feature pour activer le support Radio Paradise
|
|
paradise = ["dep:pmoparadise"]
|