Skip to content

Files

Latest commit

b132ae8 · Apr 6, 2025

History

History

helloworld_tonic

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jul 20, 2024
Jul 9, 2024
Jun 30, 2024
Apr 6, 2025

Hello World gRPC - Rust Tonic Implementation

This directory contains a Rust implementation of a simple gRPC service using the Tonic framework. It serves as an example and reference for implementing gRPC services in Rust.

Features

  • gRPC service implementation using Tonic
  • Protocol buffer integration
  • Client-server communication
  • Error handling

Build

bazel build //rust/helloworld_tonic:...

Test

bazel test //rust/helloworld_tonic:...

Running the Service

# Start the server
bazel run //rust/helloworld_tonic:server

# In another terminal, run the client
bazel run //rust/helloworld_tonic:client

Protos

See proto defs here