mirror of
https://github.com/vacp2p/status-rln-prover.git
synced 2026-01-08 05:03:54 -05:00
13 lines
379 B
Rust
13 lines
379 B
Rust
use std::env;
|
|
use std::path::PathBuf;
|
|
|
|
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|
let out_dir = PathBuf::from(env::var("OUT_DIR").unwrap());
|
|
tonic_prost_build::configure()
|
|
.file_descriptor_set_path(out_dir.join("prover_descriptor.bin"))
|
|
.compile_protos(&["../proto/net/vac/prover/prover.proto"], &["../proto"])
|
|
.unwrap();
|
|
|
|
Ok(())
|
|
}
|