Crate facet_serialize

Crate facet_serialize 

Source
Expand description

§facet-serialize

Coverage Status crates.io documentation MIT/Apache-2.0 licensed Discord

facet-serialize provides a common foundation for serializers, especially for self-descriptive formats like JSON, MessagePack, etc.

It provides an iterative approach to serialization that should never blow up the stack, at the cost of runtime performance (see cargo criterion results).

§Sponsors

Thanks to all individual sponsors:

GitHub Sponsors Patreon

…along with corporate sponsors:

AWS Zed Depot

…without whom this work could not exist.

§Special thanks

The facet logo was drawn by Misiasart.

§License

Licensed under either of:

at your option.

Traits§

Serialize
Extension trait to simplify calling the generic serializer.
Serializer
A trait for implementing format-specific serialization logic. The core iterative serializer uses this trait to output data.

Functions§

serialize_iterative
Serializes a Peek value using the provided Serializer.