feat(build): use prettyplease to format output (#890) (#904)

This commit is contained in:
Matthias Vogelgesang
2022-02-10 13:20:52 -05:00
committed by GitHub
parent 468e4221f0
commit d6c0fc112b
11 changed files with 8 additions and 93 deletions
+1 -3
View File
@@ -4,8 +4,6 @@ Compiles proto files via prost and generates service stubs and proto definitione
## Features
- rustfmt: This feature enables the use of rustfmt to format the output code this makes the code readable and the error messages nice. This requires that rustfmt is installed. This is enabled by default.
Required dependencies
```toml
@@ -103,4 +101,4 @@ pub mod google {
}
}
```
See [the example here](https://github.com/hyperium/tonic/tree/master/examples/src/gcp)
See [the example here](https://github.com/hyperium/tonic/tree/master/examples/src/gcp)