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