Skip to main content

text_options

Function text_options 

Source
pub(crate) fn text_options(
    config_dir: Option<&Path>,
    with_text: bool,
) -> Result<TextPluginConfig, DevError>
Expand description

Resolve the text plugin config: --with-text OR enabled = true in {config-dir}/text.toml. The file also carries the analyzer and seed length; the flag alone takes the defaults. A parse/validate failure is a deployment error (fail fast, before any engine exists).