Tins · Primitives

thrift

Apache Thrift serialization in pure Mojo — compact and binary protocols — plus every struct, union and enum of the Parquet metadata schema, generated ahead of time.

Install
pixi shelf add thrift-mojo
Version

0.1.3 on mojoshelf

What it does

Works today

  • TCompactProtocol and TBinaryProtocol behind one trait
  • All of parquet.thrift, pre-generated
  • Footer, page-header and page-index decode helpers
  • No RPC, no runtime IDL, no dependencies

Correctness

Checked against Apache Thrift itself — 13 generated wire vectors, byte-identical

Byte-identical to Apache Thrift on generated wire vectors, in both the compact and the binary protocol.

Also in Primitives