Lines Matching refs:file
6 - Define a service in a `.proto` file.
24 With gRPC we can define our service once in a `.proto` file and implement clients and servers in
93 You can see the complete `.proto` file in
96 To define a service, you specify a named `service` in your `.proto` file:
149 Our `.proto` file also contains protocol buffer message type definitions for all the request and
191 Create a `build.rs` file at the root of your crate:
259 the package declared in our `.proto` file, not a filename, e.g "routeguide.rs".
315 deserialize them from a json file and keep them around as our only piece of shared state:
324 Create the json data file and a helper module to read and deserialize our features.
335 **Note:** If you are following along, you'll need to change the data file's path from
584 Rename `main.rs` to `server.rs` and create a new file `client.rs`.
824 On `cargo run`, this will generate code for the server only, and place the resulting file in