Files
pmomusic/pmocache/Cargo.toml

48 lines
1021 B
TOML
Raw Normal View History

2025-10-12 21:39:20 +02:00
[package]
name = "pmocache"
version = "0.1.0"
edition = "2021"
[dependencies]
# Base de données
2025-10-17 14:36:39 +02:00
rusqlite = { version = "0.37.0", features = ["bundled"] }
2025-10-12 21:39:20 +02:00
# HTTP client
reqwest = { version = "0.12", features = ["blocking", "stream"] }
futures-util = "0.3"
2025-10-12 21:39:20 +02:00
# Cryptographie
sha1 = "0.10"
2025-10-25 17:14:24 +02:00
sha2 = "0.10"
2025-10-12 21:39:20 +02:00
hex = "0.4"
# Utilitaires
anyhow = "1.0"
chrono = "0.4"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
bytes = "1.6"
2025-10-12 21:39:20 +02:00
# Async
tokio = { version = "1.0", features = ["full"] }
tokio-util = { version = "0.7", features = ["io"] }
2025-10-12 21:39:20 +02:00
2025-10-17 23:08:06 +02:00
# Logging
tracing = "0.1"
2025-10-12 21:39:20 +02:00
# Feature pour OpenAPI
utoipa = { version = "5.3", optional = true }
2025-10-17 14:36:39 +02:00
# Feature pour pmoserver (extension HTTP)
axum = { version = "0.8", optional = true }
2025-10-25 17:14:24 +02:00
# Feature pour pmoconfig (extension de configuration)
pmoconfig = { path = "../pmoconfig", optional = true }
serde_yaml = { version = "0.9", optional = true }
2025-10-12 21:39:20 +02:00
[features]
default = []
openapi = ["dep:utoipa"]
pmoserver = ["dep:axum"]
2025-10-25 17:14:24 +02:00
pmoconfig = ["dep:pmoconfig", "dep:serde_yaml"]