feat: Update dependencies and build configuration for nxmesh-proto
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
use std::io::Result;
|
||||
|
||||
fn main() -> Result<()> {
|
||||
tonic_build::configure()
|
||||
tonic_prost_build::configure()
|
||||
.build_server(true)
|
||||
.build_client(true)
|
||||
.compile(&["proto/agent.proto"], &["proto"])?;
|
||||
.compile_protos(&["proto/agent.proto"], &["proto"])?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user