#![allow(
clippy::unwrap_used,
clippy::expect_used,
clippy::panic,
reason = "build scripts run at build time; panicking/expect/unwrap is their idiomatic failure mechanism (cargo surfaces a build-script panic as a build error). The workspace [lints.clippy] deny of these targets runtime code and cannot be scoped per-target via the lints table, so the exception lives per build script, applied uniformly across all workspace build.rs."
)]
fn main() -> Result<(), Box<dyn std::error::Error>> {
tonic_prost_build::configure()
.build_server(false)
.build_client(true)
.compile_protos(
&["proto/ppoppo/external/v1/external.proto"],
&["proto/ppoppo/external/v1"],
)?;
Ok(())
}