// Copyright 2020-2022 Farcaster Devs & LNP/BP Standards Association // // Use of this source code is governed by an MIT-style // license that can be found in the LICENSE file or at // https://opensource.org/licenses/MIT. fn main() { let proto_file = "./src/grpcd/proto/farcaster.proto"; tonic_build::configure() .build_server(true) .compile(&[proto_file], &["."]) .unwrap_or_else(|e| panic!("protobuf compile error: {}", e)); println!("cargo:rerun-if-changed={}", proto_file); }