feat: add outbound interface binding
This commit is contained in:
@@ -18,3 +18,4 @@ cli-table = "0.5.0"
|
||||
|
||||
[build-dependencies]
|
||||
prost-build = "0.14"
|
||||
protoc-bin-vendored = "3"
|
||||
@@ -1,5 +1,10 @@
|
||||
fn main() {
|
||||
let protoc_path = protoc_bin_vendored::protoc_bin_path()
|
||||
.expect("failed to find vendored protoc");
|
||||
|
||||
let mut config = prost_build::Config::new();
|
||||
|
||||
config.protoc_executable(protoc_path);
|
||||
config.protoc_arg("--experimental_allow_proto3_optional");
|
||||
config
|
||||
.compile_protos(&["proto/local_ipc.proto"], &["proto"])
|
||||
|
||||
Reference in New Issue
Block a user