This repository contains two Rust crates for validating deserialized structs and enums:
serde-validate
serde-validate-macro
The serde-validate
crate provides utilities for validating deserialized structs and enums in Rust. It includes a Validate
trait and a procedural macro, validate_deser
, that generates deserialization code with integrated validation.
The serde-validate-macro
crate provides the procedural macro implementation used by serde-validate
.
Contributions are welcome! Please open an issue or submit a pull request.
This project is licensed under the GPL-3.0 License - see the LICENSE file for details.