Crate facet_serialize

Source
Expand description

Facet logo - a reflection library for Rust

Coverage Status free of syn crates.io documentation MIT/Apache-2.0 licensed

Logo by Misiasart

Thanks to all individual and corporate sponsors, without whom this work could not exist:

Ko-fi GitHub Sponsors Patreon Zed Depot

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).

§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.