Relish: A new serialization format
alexgaynor.net·4d
🦀Rust
Preview
Report Post

Tue, Dec 9, 2025

I’ve recently created and open sourced a new serialization format, named Relish1, and a Rust library implementing it. They can be found here. I don’t expect many people to adopt it – there are quite a few choices for serialization libraries available to people already – however, it has some nice design properties that I want to describe.

Relish is a binary serialization format; it does not have an IDL. I drew ideas primarily from ASN.1 DER and Protocol Buffers. I’ve maintained a Rust ASN.1 DER library for several years, and I’ve been known to tell people that most of the reasons they think ASN.1 is bad are wrong, and in fact there are a bunch of other things that are bad about ASN.1.[…

Similar Posts

Loading similar posts...