fn main() -> Result<(), Box<dyn std::error::Error>> {
#[cfg(feature = "governance")]
{
println!("cargo:rerun-if-changed=proto/policy_internal.proto");
tonic_build::configure()
.build_server(false)
.build_client(true)
.compile_protos(&["proto/policy_internal.proto"], &["proto"])?;
}
Ok(())
}