Files
pmomusic/pmoplaylist/Cargo.toml

47 lines
1.1 KiB
TOML
Raw Normal View History

2025-10-16 22:13:00 +02:00
[package]
name = "pmoplaylist"
version = "0.1.0"
2025-10-27 12:32:31 +01:00
edition = "2021"
2025-10-16 22:13:00 +02:00
[dependencies]
2025-10-27 12:32:31 +01:00
# Caches PMO
pmoaudiocache = { path = "../pmoaudiocache" }
pmocache = { path = "../pmocache" }
# Métadonnées
pmometadata = { path = "../pmometadata" }
2025-10-27 12:32:31 +01:00
# DIDL-Lite pour UPnP
2025-10-16 22:13:00 +02:00
pmodidl = { path = "../pmodidl" }
2025-10-27 12:32:31 +01:00
# Configuration (optionnelle)
pmoconfig = { path = "../pmoconfig", optional = true }
# Base de données
rusqlite = { version = "0.37", features = ["bundled"] }
# Utilitaires
anyhow = "1.0"
thiserror = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Async
tokio = { version = "1.0", features = ["full"] }
# Singleton
once_cell = "1.20"
# Logging
tracing = "0.1"
chrono = { version = "0.4", features = ["serde"] }
axum = { version = "0.8", optional = true, features = ["macros", "json"] }
tokio-stream = { version = "0.1", optional = true, features = ["sync"] }
utoipa = { version = "5.4", optional = true, features = ["axum_extras", "chrono"] }
async-stream = { version = "0.3", optional = true }
2025-10-27 12:32:31 +01:00
[features]
default = ["pmoconfig"]
pmoconfig = ["dep:pmoconfig"]
pmoserver = ["dep:axum", "dep:tokio-stream", "dep:utoipa", "dep:async-stream"]