Crate anybuf

source ·
Expand description

A minimal (like seriously), zero dependency protobuf encoder.

Non goals

Supported:

  • Varint fields (bool/uint32/uint64/sint32/sint64)
  • Variable length fields (string/bytes)
  • Repeated (bool/uint32/uint64/string/bytes/messages)
  • Nested: Just append an Anybuf instance

Not yet supported:

  • Fixed length types
  • Packed encoding for repeated fields
  • int32/int64

Structs