feat(build): Support compiling well-known protobuf types (#522)
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
fn main() {
|
||||
tonic_build::configure()
|
||||
.compile_well_known_types(true)
|
||||
.compile(&["proto/google.proto"], &["proto"])
|
||||
.unwrap();
|
||||
}
|
||||
Reference in New Issue
Block a user