Instead of grabbing commands from files, the daemon now connects to the brain and receives commands via gRPC. Reviewed-on: SNP/daemon#2
7 lines
198 B
Rust
7 lines
198 B
Rust
fn main() {
|
|
tonic_build::configure()
|
|
.build_server(true)
|
|
.compile_protos(&["brain.proto"], &["proto"])
|
|
.unwrap_or_else(|e| panic!("Failed to compile protos {:?}", e));
|
|
}
|