fn main() -> Result<(), Box> { let proto_root = "../music-agregator/proto"; tonic_build::configure() .build_server(false) .build_client(true) .out_dir("src/proto") .compile_protos( &[format!( "{}/music_agregator/v1/music_agregator.proto", proto_root )], &[proto_root], )?; Ok(()) }