photoncloud-monorepo/iam/crates/iam-api/build.rs
centra 3eeb303dcb feat: Batch commit for T039.S3 deployment
Includes all pending changes needed for nixos-anywhere:
- fiberlb: L7 policy, rule, certificate types
- deployer: New service for cluster management
- nix-nos: Generic network modules
- Various service updates and fixes

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-13 04:34:51 +09:00

14 lines
421 B
Rust

fn main() -> Result<(), Box<dyn std::error::Error>> {
let protoc_path = protoc_bin_vendored::protoc_bin_path()?;
std::env::set_var("PROTOC", protoc_path);
let proto = "../../proto/iam.proto";
tonic_build::configure()
.build_server(true)
.build_client(true)
.compile_protos(&[proto], &["../../proto"])?;
println!("cargo:rerun-if-changed=../../proto/iam.proto");
Ok(())
}