The skeleton the subtitles milestone hangs off: provider domain types, an object-safe Provider trait, the crate's own error type, and the cargo features the translation backends will sit behind. No provider, no translation, no ranking — DESIGN.md §15 keeps ranking pure in arr-core.
29 lines
726 B
TOML
29 lines
726 B
TOML
[package]
|
|
name = "arr-subs"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
publish = false
|
|
|
|
[features]
|
|
default = []
|
|
# Translation backends, one feature each (DESIGN.md §15). The backends
|
|
# themselves land in #191, #192 and #193; the switches exist now so the crate
|
|
# they will hang off is already shaped for them, and so a build can be told
|
|
# which ones to compile in before any of them exists.
|
|
translate-openai = []
|
|
translate-deepl = []
|
|
translate-google = []
|
|
translate-command = []
|
|
|
|
[dependencies]
|
|
arr-core.workspace = true
|
|
thiserror.workspace = true
|
|
|
|
[dev-dependencies]
|
|
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
|
|
|
|
[lints]
|
|
workspace = true
|