mirror of
https://github.com/Qortal/piratewallet-light-cli.git
synced 2025-01-30 18:42:15 +00:00
11 lines
313 B
Rust
11 lines
313 B
Rust
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|
tonic_build::configure()
|
|
.build_server(false)
|
|
.compile(
|
|
&["proto/service.proto", "proto/compact_formats.proto"],
|
|
&["proto"],
|
|
)?;
|
|
println!("cargo:rerun-if-changed=proto/service.proto");
|
|
Ok(())
|
|
}
|
|
|