73 lines
2.0 KiB
TOML
73 lines
2.0 KiB
TOML
[workspace]
|
|
resolver = "2"
|
|
members = ["crates/*"]
|
|
|
|
[workspace.package]
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "MIT"
|
|
repository = "https://git.naps.pt/yolo/arr"
|
|
publish = false
|
|
|
|
[workspace.dependencies]
|
|
# Internal
|
|
arr-api = { path = "crates/arr-api" }
|
|
arr-compat = { path = "crates/arr-compat" }
|
|
arr-core = { path = "crates/arr-core" }
|
|
arr-db = { path = "crates/arr-db" }
|
|
arr-dl = { path = "crates/arr-dl" }
|
|
arr-indexer = { path = "crates/arr-indexer" }
|
|
arr-meta = { path = "crates/arr-meta" }
|
|
arr-parse = { path = "crates/arr-parse" }
|
|
arr-probe = { path = "crates/arr-probe" }
|
|
|
|
# Runtime and HTTP
|
|
axum = "0.8"
|
|
tokio = { version = "1", features = ["macros", "rt-multi-thread", "sync", "time", "net", "io-util", "fs", "signal", "process"] }
|
|
tower-http = { version = "0.6", features = ["trace"] }
|
|
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
|
|
base64 = "0.22"
|
|
|
|
# Persistence
|
|
sqlx = { version = "0.8", default-features = false, features = ["runtime-tokio", "sqlite", "macros", "migrate", "chrono", "json"] }
|
|
|
|
# API surface
|
|
utoipa = { version = "5", features = ["axum_extras", "chrono"] }
|
|
utoipa-axum = "0.2"
|
|
utoipa-scalar = { version = "0.3", features = ["axum"] }
|
|
|
|
# Embedded frontend
|
|
include_dir = "0.7"
|
|
mime_guess = "2"
|
|
|
|
# Serialisation
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
quick-xml = { version = "0.37", features = ["serialize"] }
|
|
toml = "0.8"
|
|
|
|
# Odds and ends
|
|
chrono = { version = "0.4", default-features = false, features = ["clock", "serde"] }
|
|
clap = { version = "4.5", features = ["derive", "env"] }
|
|
thiserror = "2"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
url = "2"
|
|
uuid = { version = "1", features = ["v4", "serde"] }
|
|
|
|
# Test-only
|
|
tempfile = "3"
|
|
wiremock = "0.6"
|
|
|
|
[workspace.lints.rust]
|
|
unused_crate_dependencies = "warn"
|
|
missing_debug_implementations = "warn"
|
|
|
|
[workspace.lints.clippy]
|
|
pedantic = { level = "warn", priority = -1 }
|
|
unwrap_used = "warn"
|
|
|
|
[profile.release]
|
|
lto = "thin"
|
|
codegen-units = 1
|