Available on crate feature serde only.
Expand description

Enables (de)serialization of Py<T> objects via serde.

Setup

To use this feature, add this to your Cargo.toml:

[dependencies]
serde = "1.0"
pyo3 = { version = "0.16.6", features = ["serde"] }