diff --git a/shared/tunnelbroker-client/build.rs b/shared/tunnelbroker-client/build.rs new file mode 100644 --- /dev/null +++ b/shared/tunnelbroker-client/build.rs @@ -0,0 +1,5 @@ +fn main() { + tonic_build::compile_protos("../protos/tunnelbroker.proto") + .unwrap_or_else(|e| panic!("Failed to compile proto {:?}", e)); + println!("cargo:rerun-if-changed=../protos/tunnelbroker.proto"); +} diff --git a/shared/tunnelbroker-client/src/lib.rs b/shared/tunnelbroker-client/src/lib.rs new file mode 100644 --- /dev/null +++ b/shared/tunnelbroker-client/src/lib.rs @@ -0,0 +1 @@ +