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
This commit is contained in:
David Pedersen
2021-06-02 16:58:43 +02:00
committed by GitHub
parent 0fa391eca4
commit e82f0b0399
6 changed files with 65 additions and 4 deletions
+1
View File
@@ -20,5 +20,6 @@ members = [
"tests/extern_path/my_application",
"tests/integration_tests",
"tests/stream_conflict",
"tests/root-crate-path",
]