#binary-encoding #environments #constrained #format #no-std #ideal #super-compact

no-std fermion

A super-compact binary encoding format ideal for constrained no_std environments

2 unstable releases

0.2.0 Oct 8, 2019
0.1.0 Sep 27, 2019

#2191 in Encoding

MPL-2.0 license

38KB
1.5K SLoC

Fermion

Documentation

Fermion is a super-compact binary encoding format ideal for constrained no_std environments.

Support

Being generally thought to be used in no_std environments, fermion, for now does not support allocations.

Supported

  • Zero-copy deserialization of byte-strings and strs.

Not supported

  • Strings, or maps.
  • Byte slices larger than u16::MAX (65_535 bytes)
  • Enums with more than 256 variants

lib.rs:

Fermion

A super-compact binary encoding format ideal for constrained no_std environments.

Dependencies

~0.6–1.2MB
~26K SLoC