Files
tonic/tests/included_service/src/lib.rs
T
Lucio FrancoandGitHub 0847b67c4e fix(build): Allow creating multiple services in the same package (#173)
BREAKING CHANGE: Build will now generate each service client and server into their own modules.
2019-12-11 16:22:03 -05:00

9 lines
305 B
Rust

pub mod pb {
tonic::include_proto!("includer");
}
// Ensure that an RPC service, defined before including a file that defines
// another service in a different protocol buffer package, is not incorrectly
// cleared from the context of its package.
type _Test = dyn pb::topservice_server::TopService;