feat: Update dependencies and build configuration for nxmesh-proto
This commit is contained in:
@@ -12,4 +12,4 @@ tonic.workspace = true
|
||||
prost.workspace = true
|
||||
|
||||
[build-dependencies]
|
||||
tonic-build = "0.14.5"
|
||||
tonic-prost-build.workspace = true
|
||||
|
||||
@@ -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