pub fn parse_target_file(path: &Path) -> Result<TargetSpec, RendererError>Expand description
Parse and validate a standalone target TOML file, returning its spec.
Runs the same validation that target discovery applies (name rules, artifact
file names, placeholder compilation, inheritance target names) without
resolving extends against a registry. Used by chromasync target install
to reject malformed targets before copying them into the user config.