4 releases (2 breaking)
Uses new Rust 2024
| 0.7.0 | Oct 29, 2025 |
|---|---|
| 0.6.1 | May 27, 2025 |
| 0.6.0 | Feb 3, 2025 |
| 0.5.1 | Oct 28, 2024 |
#708 in Text processing
117 downloads per month
660KB
12K
SLoC
Topiary
Topiary aims to be a uniform formatter for simple languages, as part of the Tree-sitter ecosystem. It is named after the art of clipping or trimming trees into fantastic shapes.
Topiary is designed for formatter authors and formatter users. Authors can create a formatter for a language without having to write their own formatting engine or even their own parser. Users benefit from uniform code style and, potentially, the convenience of using a single formatter tool, across multiple languages over their codebases, each with comparable styles applied.
» 📖 Read the Topiary Book
» 💻 Topiary website
» 🌳 Topiary playground
Dependencies
~119MB
~2M SLoC