Available on crate feature serde-traits only.
Expand description

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

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"