feat: add __rpc
This commit is contained in:
9
__rpc/dubbo-rust/build.rs
Normal file
9
__rpc/dubbo-rust/build.rs
Normal file
@@ -0,0 +1,9 @@
|
||||
use std::path::PathBuf;
|
||||
|
||||
fn main() {
|
||||
let path = PathBuf::from("./src/greeter");
|
||||
dubbo_build::prost::configure()
|
||||
.output_dir(path)
|
||||
.compile(&["proto/greeter.proto"], &["proto/"])
|
||||
.unwrap();
|
||||
}
|
||||
Reference in New Issue
Block a user