From 7b0229898fc2b9dee8b73919b6c67b374646fdda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=CC=81lvaro=20Curto=20Merino?= Date: Tue, 22 Oct 2024 12:17:03 +0200 Subject: [PATCH] cargo fmt --check --- edgeless_node/build.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/edgeless_node/build.rs b/edgeless_node/build.rs index 379bec24..2451d38a 100644 --- a/edgeless_node/build.rs +++ b/edgeless_node/build.rs @@ -1,9 +1,7 @@ // compiles all of the dda protos on build fn main() -> Result<(), Box> { // Add flag enabling optional proto3 in tonic_build - tonic_build::configure() - .protoc_arg("--experimental_allow_proto3_optional") - .compile( + tonic_build::configure().protoc_arg("--experimental_allow_proto3_optional").compile( &[ "src/resources/dda/proto/com.proto", "src/resources/dda/proto/state.proto", @@ -17,4 +15,4 @@ fn main() -> Result<(), Box> { // tonic_build::compile_protos("src/resources/dda/proto/state.proto")?; // tonic_build::compile_protos("src/resources/dda/proto/store.proto")?; Ok(()) -} +} \ No newline at end of file