Our great sponsors
-
you mean something like this: https://github.com/hyperium/tonic/blob/master/examples/build.rs ? Then the answer is yes, tonic build will generate server & client stubs at compile time.
-
Hi r/rust, I have a question regarding tonic-build (or prost-build).
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
With ts-proto, I can pass a --ts_proto_opt=outputServices=generic-definitions as a flag to protoc to generate "generic service definitions". These definitions contain descriptors for each method, which allows to generate server and client stubs at runtime, and also generate strong types for them at compile time.