#Proto RPC services

6 messages · Page 1 of 1 (latest)

winter pier
#

Hi, I am writing an app and noticed that there is not yet support for services in the prost crate.

Does anyone know of good third (fourth? Since I guess prost is a third party implementation already) party implementations of that or would that be a good side quest for me to go on?

upper hemlock
#

I could be wrong, but my understanding is that protobuf services are just an http service with a protobuf message in the payload. So you could use e.g. axum for your server and just parse the protobuf messages in the axum http handlers, right?

winter pier
#

Yeah that's what I was looking for. I didn't see anything mentioned in the "services" section of the prost documentation but it looked relatively easy to implement.

I might still do some, I have an idea for a way to turn proto services into a REST API with some options on the service which could be useful

winter pier
#

I don't know how I didn't come across tonic in my searches until now but it looks like the obvious answer for what I want.

#

(I've been at big companies my whole career and have not gotten good at navigating the open source ecosystem)