blob: 67e5270d0ba0dff535df58902256be761cb86c4a [file]
// Protocol Buffers - Google's data interchange format
// Copyright 2026 Google LLC
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
use protobuf_codegen::CodeGen;
fn main() {
CodeGen::new()
.inputs(["proto_example/foo.proto", "proto_example/bar/bar.proto"])
.include("proto")
.dependency(protobuf_well_known_types::get_dependency("protobuf_well_known_types"))
.generate_and_compile()
.unwrap();
}