Files
tonic/tests/root-crate-path/foo.proto
T
David PedersenandGitHub e82f0b0399 build: generate root crate paths correctly (#623)
We shouldn't append `proto_path` (`super` by default) if the path starts
with `crate::`.

Fixes https://github.com/hyperium/tonic/issues/548
2021-06-02 16:58:43 +02:00

11 lines
155 B
Protocol Buffer

syntax = "proto2";
package foo.bar.baz;
message Animal {
optional string name = 1;
}
service Zoo {
rpc process_animal(Animal) returns (Animal) {};
}