Files
pmomusic/pmoaudiocache/Cargo.toml

58 lines
1.3 KiB
TOML
Raw Normal View History

2025-10-12 21:39:20 +02:00
[package]
name = "pmoaudiocache"
version = "0.1.0"
edition = "2021"
[dependencies]
# Cache générique
pmocache = { path = "../pmocache" }
# DIDL-Lite pour UPnP
pmodidl = { path = "../pmodidl" }
2025-10-27 17:30:54 +01:00
# Streaming FLAC asynchrone
pmoflac = { path = "../pmoflac" }
pmometadata = { path = "../pmometadata" }
2025-10-27 17:30:54 +01:00
2025-10-12 21:39:20 +02:00
# Base de données
2025-10-17 14:36:39 +02:00
rusqlite = { version = "0.37", features = ["bundled"] }
chrono = { workspace = true }
2025-10-12 21:39:20 +02:00
# Métadonnées audio
lofty = "0.22"
# Outils de streaming
futures-util = "0.3"
bytes = "1.0"
2025-10-12 21:39:20 +02:00
# Utilitaires
anyhow = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
quick-xml = { workspace = true }
2025-10-27 12:32:31 +01:00
paste = "1.0"
async-trait = { workspace = true }
2025-10-12 21:39:20 +02:00
# Async
tokio = { workspace = true }
2025-10-12 21:39:20 +02:00
# Singleton
once_cell = "1.20"
2025-10-12 21:39:20 +02:00
# Serveur HTTP (optionnel pour l'extension)
pmoserver = { path = "../pmoserver", optional = true }
pmoconfig = { path = "../pmoconfig", optional = true }
axum = { version = "0.8", optional = true }
utoipa = { version = "5.3", features = ["axum_extras"], optional = true }
tracing = { workspace = true }
2025-10-12 21:39:20 +02:00
2025-10-19 01:31:22 +02:00
[dev-dependencies]
tracing-subscriber = "0.3"
tempfile = "3"
2025-10-19 01:31:22 +02:00
2025-10-12 21:39:20 +02:00
[features]
default = ["pmoserver"]
2025-10-25 17:14:24 +02:00
pmoconfig = ["dep:pmoconfig", "pmocache/pmoconfig"]
pmoserver = ["pmoconfig", "dep:pmoserver", "dep:axum", "dep:utoipa", "pmocache/pmoserver", "pmocache/openapi"]