fork/rules_rust

git clone https://git.julia.blue/fork/rules_rust

Damien Martin-GuillerezProtobuf support (#92)e008ebe9

0.8.1
423 B23 linesraw
1
2syntax = "proto3";
3
4import "proto/common.proto";
5
6package helloworld;
7
8// The greeting service definition.
9service Greeter {
10  // Sends a greeting
11  rpc SayHello (HelloRequest) returns (HelloReply) {}
12}
13
14// The request message containing the user's name.
15message HelloRequest {
16  string name = 1;
17  common.Config config = 2;
18}
19
20// The response message containing the greetings
21message HelloReply {
22  string message = 1;
23}