rootstock: a single-binary Rust tool that keeps projects in sync with their templates
The author, a Rust developer, wanted a single-binary alternative to Python-based Copier for project templates. Most template tools only render files once, leaving projects drifting from later template changes. rootstock records the template source, version, answers and generated files in a .rootstock.toml file, then replays template updates by three-way comparison against the project. Conflicting text is merged via git merge-file, while unmergeable cases such as edited binaries are kept side by side or reported. Human-action cases exit with code 2 and a line per problem, making the tool easy to automate.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in