fix(codegen): Fix Empty protobuf type and add unimplemented (#26)
* Add license attribute to tonic-build * fix(codegen): Fix Empty protobuf type and add unimplemented * Remove syn full feature
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
#[test]
|
||||
fn empty() {
|
||||
let tmp = std::env::temp_dir();
|
||||
tonic_build::configure()
|
||||
.out_dir(tmp)
|
||||
.format(false)
|
||||
.compile(&["tests/protos/empty.proto"], &["tests/protos"])
|
||||
.unwrap();
|
||||
}
|
||||
Reference in New Issue
Block a user