Files
music-agregator/Cargo.toml
T
Alexander 925c7c3703 feat: add CLI args, health endpoint, and fix torznab search
- Add clap for CLI argument parsing (-c config, -p port)
- Add health endpoint showing service status at /api/health
- Add IndexerType enum for auto URL construction (jackett/prowlarr/torznab)
- Fix Axum 0.8 route syntax ({param} instead of :param)
- Fix torznab search to use 'q' param instead of artist/album (Jackett only supports q)
2026-04-28 19:16:22 +02:00

36 lines
873 B
TOML

[package]
name = "music-agregator"
version = "0.1.0"
edition = "2021"
[[bin]]
name = "music-agregator"
path = "src/main.rs"
[dependencies]
axum = "0.8"
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9"
tower-http = { version = "0.6", features = ["cors", "trace"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
uuid = { version = "1", features = ["v4", "serde"] }
reqwest = { version = "0.12", default-features = false, features = ["json", "cookies", "rustls-tls", "multipart"] }
async-trait = "0.1"
thiserror = "2"
url = "2"
roxmltree = "0.20"
base64 = "0.22"
clap = { version = "4", features = ["derive"] }
tonic = "0.12"
prost = "0.13"
[build-dependencies]
tonic-build = "0.12"
[profile.release]
opt-level = 3
lto = true