3 unstable releases

0.2.1 Apr 28, 2020
0.2.0 Mar 28, 2020
0.1.0 Mar 5, 2020

#2327 in Encoding

36 downloads per month
Used in cfgloader

Custom license

16KB
375 lines

polyglot

Crate Documentation

A library for format-agnostic serialization

Target Use-Case

Polyglot is not meant as a one-stop shop for all your serialization needs. It does not expose all features of the most popular serialization libraries (e.g. pretty-printing) in favor of a unified interface. This library is best used when developing format-agnostic applications, like a server that can communicate over JSON or over MessagePack, or a service that can be configured in YML, JSON, or TOML. Basically,if you're writing an application that cares little about the format your data is in, but that does care about deserializing it, Polyglot is for you.

Dependencies

~0.3–1.4MB
~32K SLoC