* Add license attribute to tonic-build * fix(codegen): Fix Empty protobuf type and add unimplemented * Remove syn full feature
10 lines
219 B
Rust
10 lines
219 B
Rust
#[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();
|
|
}
|