Try out gin-tonic - prost alternative

· Users Rust Lang · May 17, 2026, 6:51 p.m.
Summary
The blog post introduces 'gin-tonic', a Rust protobuf library designed to simplify the use of custom types in protobuf messages without needing boilerplate manual conversions. It highlights the advantages of gin-tonic over existing libraries like 'prost', particularly in handling UUIDs directly in Rust types. Benchmarks comparing performance show that gin-tonic is faster in encoding while having slightly better decode performance. The post discusses built-in UUID support and provides a basic implementation guide for custom types.
AUTHOR