Files
music-agregator/build.rs
T
Alexander 5afcbd68ad feat: add metadata-agregator gRPC client integration
- Add tonic/prost for gRPC client generation
- Add proto definitions from metadata-agregator service
- Add MetadataClient and MetadataService for gRPC communication
- Add REST controller exposing metadata endpoints (search, get, sync)
- Update config with metadata.endpoint setting
- Update flake.nix with protobuf for proto compilation
2026-04-28 18:58:31 +02:00

8 lines
230 B
Rust

fn main() -> Result<(), Box<dyn std::error::Error>> {
tonic_build::configure()
.build_server(false)
.build_client(true)
.compile_protos(&["proto/metadata/v1/metadata.proto"], &["proto"])?;
Ok(())
}