feat: add __rpc

This commit is contained in:
2022-10-28 00:50:48 +08:00
parent 6873d68129
commit cb12afd2da
9 changed files with 1646 additions and 0 deletions

View 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();
}