libsignal-protocol-rust/build.rs
Jack Lloyd 9b2fa1618d Add GPL license notification to all source files
Use rustfmt to enforce format
2020-08-28 12:44:23 -04:00

19 lines
414 B
Rust

//
// Copyright (C) 2020 Signal Messenger, LLC.
// All rights reserved.
//
// SPDX-License-Identifier: GPL-3.0-only
//
fn main() {
let protos = [
"src/proto/fingerprint.proto",
"src/proto/storage.proto",
"src/proto/wire.proto",
];
prost_build::compile_protos(&protos, &["src"]).unwrap();
for proto in &protos {
println!("cargo:rerun-if-changed={}", proto);
}
}