2 unstable releases
Uses new Rust 2024
| new 0.2.0 | Nov 7, 2025 |
|---|---|
| 0.1.0 | Oct 8, 2025 |
#1192 in Parser implementations
247 downloads per month
8KB
103 lines
Context-aware deserialization for Rust data structures.
This crate provides the ContextDeserialize trait, which extends serde's deserialization
capabilities by allowing you to pass additional context during deserialization.
context_deserialize
A Rust library for deserializing data structures with additional context, built on top of serde.
Overview
context_deserialize provides a trait similar to serde::Deserialize, but with an additional context parameter that can be passed through the deserialization process.
This is useful when you need external information (like a version number or configuration) to properly deserialize your data structures.
Dependencies
~0.3–1MB
~22K SLoC