13 lines
329 B
Rust
13 lines
329 B
Rust
// Copyright 2024 Signal Messenger, LLC
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
fn main() {
|
|
let protos = [
|
|
"proto/msgs.proto",
|
|
];
|
|
prost_build::compile_protos(&protos, &["proto"]).expect("Protobufs in src are valid");
|
|
for proto in &protos {
|
|
println!("cargo:rerun-if-changed={}", proto);
|
|
}
|
|
}
|