mirror of
https://github.com/Lencerf/p9cpu.git
synced 2024-10-23 13:09:46 +00:00
ce99fe8286
`ClientInnerT` is a generic transport layer client. It can be either an SSH client or a gRPC client. Basically it enables us to start a process on a remote machine and forward stdin/stdout/stderr. Signed-off-by: Changyuan Lyu <changyuanl@google.com>
11 lines
299 B
Rust
11 lines
299 B
Rust
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|
let mut config = prost_build::Config::new();
|
|
config.protoc_arg("--experimental_allow_proto3_optional");
|
|
tonic_build::configure().compile_with_config(
|
|
config,
|
|
&["src/cmd.proto"],
|
|
&["src"],
|
|
)?;
|
|
Ok(())
|
|
}
|