neopack 1.0.0

neopack is a small, opinionated library for binary tlv serialization
Documentation
  • Coverage
  • 77.68%
    87 out of 112 items documented0 out of 67 items with examples
  • Size
  • Source code size: 43.53 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 4.56 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 13s Average build duration of successful builds.
  • all releases: 19s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • slightknack/isocore
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • slightknack

Neopack

A distinctively simple, bounded, and schema-agnostic serialization library.

Philosophy

  • TigerStyle: Safety through simplicity and explicit state. No hidden buffers, no recursion limits.
  • TLV Architecture: [Tag][Length?][Value] structure enables safe skipping of unknown fields.
  • Bounded: Encoders track state explicitly. Decoders are zero-copy, bounds-checked views.

Format

  • Scalars: [Tag: 1b][Data: N]
  • Blobs: [Tag: 1b][Len: 4b][Data: Len]
  • Containers: [Tag: 1b][Len: 4b][Body: Len]

All integers are Little-Endian.