This change introduces the ability to let prost-build provide the fully qualifed type path for types that start with `google.protobuf`.
10 lines
227 B
Rust
10 lines
227 B
Rust
#[test]
|
|
fn wellknown() {
|
|
let tmp = std::env::temp_dir();
|
|
tonic_build::configure()
|
|
.out_dir(tmp)
|
|
.format(false)
|
|
.compile(&["tests/protos/wellknown.proto"], &["tests/protos"])
|
|
.unwrap();
|
|
}
|