|
1 |
| -<h1 align="center"> |
2 |
| - <br> |
3 |
| - <img src="docs/content/assets/images/logo.svg" alt="logo" width="200"> |
4 |
| - <br> |
5 |
| - treefmt — one CLI to format your repo |
6 |
| - <br> |
7 |
| - <br> |
8 |
| -</h1> |
| 1 | +<div align="center"> |
9 | 2 |
|
10 |
| -[](https://matrix.to/#/#treefmt:numtide.com) |
| 3 | +# treefmt |
11 | 4 |
|
12 |
| -**Status: beta** |
| 5 | +<img src="docs/content/assets/images/logo.svg" height="150"/> |
| 6 | + |
| 7 | +**One CLI to format your repo** |
| 8 | + |
| 9 | +_A <a href="https://numtide.com/">numtide</a> project._ |
| 10 | + |
| 11 | +<p> |
| 12 | +<a href='https://coveralls.io/github/numtide/treefmt?branch=new-README'><img src='https://coveralls.io/repos/github/numtide/treefmt/badge.svg?branch=new-README' alt='Coverage Status' /></a> |
| 13 | +<a href="https://github.com/numtide/treefmt/actions/workflows/release.yml"><img src="https://github.com/numtide/treefmt/actions/workflows/release.yml/badge.svg"/></a> |
| 14 | +<img alt="Static Badge" src="https://img.shields.io/badge/status-beta-yellow"> |
| 15 | +<a href="https://app.element.io/#/room/#home:numtide.com"><img src="https://img.shields.io/badge/Support-%23numtide-blue"/></a> |
| 16 | +</p> |
| 17 | + |
| 18 | +</div> |
13 | 19 |
|
14 | 20 | `treefmt` streamlines the process of applying formatters to your project, making it a breeze with just one command line.
|
15 | 21 |
|
@@ -147,27 +153,6 @@ This project is still pretty new. Down the line we also want to add support for:
|
147 | 153 | All contributions are welcome! We try to keep the project simple and focused. Please refer to the [Contributing](./docs/content/contributing/code.md)
|
148 | 154 | guidelines for more information.
|
149 | 155 |
|
150 |
| -## Moving from Rust To Go |
151 |
| - |
152 |
| -You may be familiar with [Version 1], which is written in [Rust]. So, why re-write it in [Go]? |
153 |
| - |
154 |
| -Ultimately, `treefmt` is spending most of it's time shelling out calls to the underlying formatters. This process is |
155 |
| -just as fast/performant in Go as it is in Rust. |
156 |
| - |
157 |
| -The remaining tasks are processing some cli args and parsing a config file. Do we really need something as _heavy duty_ |
158 |
| -as Rust for that? |
159 |
| - |
160 |
| -Despite all this, you can make good, sane arguments for continuing with [Version 1] in Rust instead of a re-write. |
161 |
| -So here's a _bad argument_. |
162 |
| - |
163 |
| -[Brian] wanted to improve performance by moving away from a [Toml] cache file, introduce pipelines for applying multiple |
164 |
| -formatters against the same file set, and add an extensible approach for how `treefmt` walks file systems. He knows Go |
165 |
| -much better than Rust. |
166 |
| - |
167 |
| -[zimbatm] thought it was a good idea too. |
168 |
| - |
169 |
| -So here we are :shrug:. |
170 |
| - |
171 | 156 | ## Commercial support
|
172 | 157 |
|
173 | 158 | Looking for help or customization?
|
|
0 commit comments