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
-4
View File
@@ -16,10 +16,6 @@ readme = "README.md"
repository = "https://github.com/hyperium/tonic"
version = "0.3.0"
[features]
default = ["rustfmt"]
rustfmt = ["tonic-build/rustfmt"]
[dependencies]
bytes = "1.0"
prost = "0.9"
-1
View File
@@ -13,7 +13,6 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
)
.build_server(true)
.build_client(true) // Client is only used for tests
.format(true)
.compile(&["proto/reflection.proto"], &["proto/"])?;
Ok(())