validation-boilerplate

Crates.iovalidation-boilerplate
lib.rsvalidation-boilerplate
version0.1.0
sourcesrc
created_at2024-06-27 03:09:51.172142
updated_at2024-06-27 03:09:51.172142
descriptionUtility for generating boilerplate for types that require runtime validation whenever they are loaded.
homepage
repositoryhttps://github.com/adam-douglass/struct-metadata/
max_upload_size
id1285046
size9,808
Adam (adam-douglass)

documentation

README

Validation Boilerplate

Utility for generating boilerplate for types that require runtime validation whenever they are loaded.

This generates a private type that uses derive(Deserialize) as normal then passes it to a validation function to be converted to the user type.

It can be applied recursively and is compatable with any type that implements deserialize normally.

Commit count: 34

cargo fmt