Available on crate feature serde-traits only.
Expand description

Serde’s Serialize/Deserialize trait implementations behind the ‘serde-traits’ feature

Serialize

Deserialize

Enable the feature:

Cargo.toml [dependencies] voluntary_servitude = { version = "3", features = "serde-traits" }

For testing the feature “serde-tests” must be enabled

cargo test --features "serde-traits serde-tests"