A cow-themed chat system, implemented in Rust using gRPC.
Mostly meant to learn more about tonic
, tokio
and tracing
.
- Start the server:
cargo run -p moosage-server
- Start the client:
cargo run -p moosage-client
- Send a message:
- Send a message using something like
bloomrpc
- Send a message using something like
Contains the gRPC proto files, as well being responsible for generating rust code for the gRPC services/messages.
The server implementation of moosage
.
Clients can subscribe to a stream of messages.
Clients can send messages, which are then broadcast to every client which subscribed to the stream of messages.
The client implementation of moosage
.