Files
tonic/tonic-build/tests/wellknown.rs
T
Lucio FrancoandGitHub 4e1fcece15 fix(codegen): Use wellknown types from prost-types (#49)
This change introduces the ability to let prost-build
provide the fully qualifed type path for types that
start with `google.protobuf`.
2019-10-05 13:16:09 -04:00

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