pyo3

Module serde

Source
Expand description

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

ยงSetup

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

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