e49bc2736d
Forward each translate-* feature from arr-daemon to arr-subs, add the missing OpenAI model bootstrap key, and construct the compiled and credentialed backends at startup so the translate endpoint stops answering 503 unconditionally.
56 lines
1.5 KiB
TOML
56 lines
1.5 KiB
TOML
[package]
|
|
name = "arr-daemon"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
publish = false
|
|
|
|
[[bin]]
|
|
name = "arr"
|
|
path = "src/main.rs"
|
|
|
|
# Forwards straight to `arr-subs`' own features (DESIGN.md §15): which
|
|
# translators a build ships is a compile-time choice, off by default, same as
|
|
# the crate that implements them.
|
|
[features]
|
|
default = []
|
|
translate-openai = ["arr-subs/translate-openai"]
|
|
translate-deepl = ["arr-subs/translate-deepl"]
|
|
translate-google = ["arr-subs/translate-google"]
|
|
translate-command = ["arr-subs/translate-command"]
|
|
|
|
[dependencies]
|
|
arr-api = { workspace = true }
|
|
arr-compat = { workspace = true }
|
|
arr-core = { workspace = true }
|
|
arr-db = { workspace = true }
|
|
arr-dl = { workspace = true }
|
|
arr-indexer = { workspace = true }
|
|
arr-meta = { workspace = true }
|
|
arr-parse = { workspace = true }
|
|
arr-probe = { workspace = true }
|
|
arr-subs = { workspace = true }
|
|
axum = { workspace = true }
|
|
chrono = { workspace = true }
|
|
include_dir = { workspace = true }
|
|
mime_guess = { workspace = true }
|
|
reqwest = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
sqlx = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
tokio = { workspace = true }
|
|
toml = { workspace = true }
|
|
tower-http = { workspace = true }
|
|
tracing = { workspace = true }
|
|
tracing-subscriber = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
base64 = { workspace = true }
|
|
tempfile = { workspace = true }
|
|
wiremock = { workspace = true }
|
|
|
|
[lints]
|
|
workspace = true
|