mirror of https://github.com/synctv-org/synctv
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
369 B
Rust
13 lines
369 B
Rust
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|
println!("cargo:rerun-if-changed=proto/slice_cache.proto");
|
|
|
|
let prost_config = tonic_prost_build::Config::new();
|
|
|
|
tonic_prost_build::configure()
|
|
.build_server(true)
|
|
.build_client(true)
|
|
.compile_with_config(prost_config, &["proto/slice_cache.proto"], &["proto"])?;
|
|
|
|
Ok(())
|
|
}
|