twonly-app/rust/build.rs
otsmr e2c616ff21
Some checks failed
Flutter analyze & test / flutter_analyze_and_test (push) Has been cancelled
start with sealed sender
2026-08-25 00:51:55 +02:00

11 lines
372 B
Rust

use std::io::Result;
fn main() -> Result<()> {
prost_build::compile_protos(&["src/user_discovery/types.proto"], &["src/"])?;
prost_build::Config::new()
.include_file("client_messages.rs")
.compile_protos(
&["../lib/src/model/protobuf/client/messages.proto"],
&["../lib/src/model/protobuf/client/"],
)?;
Ok(())
}