Files
pmomusic/pmocovers/Cargo.toml

53 lines
1.1 KiB
TOML
Raw Normal View History

2025-10-07 08:33:06 +02:00
[package]
name = "pmocovers"
version = "0.1.0"
edition = "2024"
2025-10-07 08:33:06 +02:00
[dependencies]
2025-10-12 21:39:20 +02:00
# Cache générique
pmocache = { path = "../pmocache" }
2025-10-07 08:33:06 +02:00
# Gestion d'images
image = "0.25"
webp = "0.3"
# HTTP client
reqwest = { version = "0.12", features = ["blocking"] }
# Utilitaires
anyhow = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
url = "2"
2025-10-07 08:33:06 +02:00
# Async
tokio = { workspace = true }
2025-10-07 08:33:06 +02:00
# Singleton
once_cell = "1.20"
2025-10-07 08:33:06 +02:00
# Serveur HTTP (optionnel pour l'extension)
pmoserver = { path = "../pmoserver", optional = true }
pmoconfig = { path = "../pmoconfig", optional = true }
2025-11-21 09:27:25 +01:00
async-trait = { version = "0.1", optional = true }
2025-10-07 08:33:06 +02:00
axum = { version = "0.8", optional = true }
utoipa = { version = "5.3", features = ["axum_extras"], optional = true }
tracing = { workspace = true }
2025-10-07 08:33:06 +02:00
[dev-dependencies]
tempfile = "3"
2025-10-07 08:33:06 +02:00
[features]
default = ["pmoserver"]
2025-10-25 17:14:24 +02:00
pmoconfig = ["dep:pmoconfig", "pmocache/pmoconfig"]
2025-11-21 09:27:25 +01:00
pmoserver = [
"pmoconfig",
"dep:pmoserver",
"dep:axum",
"dep:utoipa",
"pmocache/openapi",
"pmocache/pmoserver",
"dep:async-trait",
]