Serde Pickle Serialization Library
This is a fork of https://crates.io/crates/serde-pickle with support for recursive data structures and variantly
support for Value
types to make working with pickled data easier.
THIS CRATE IS NOT INTENDED FOR WIDE USE, AND I MAKE NO GUARANTEES ABOUT BEING A GOOD PROJECT MAINTAINER (although I will not be evil, I just cannot guarantee that I can support this crate)
This crate is a Rust library for parsing and generating Python pickle streams. It is built upon Serde, a high performance generic serialization framework.
Installation
This crate works with Cargo and can be found on
crates.io with a Cargo.toml
like:
[]
= "1.0"
= "1.0"
Requirements
Minimum supported Rust version is 1.41.1.
Usage
As with other serde serialization implementations, this library provides toplevel functions for simple en/decoding of supported objects.
Example:
use BTreeMap;
Serializing and deserializing structs and enums that implement the
serde-provided traits is supported, and works analogous to other crates
(using serde_derive
).