No post body was provided.
Untitled topic
1–2 of 2 posts
Re: undefined
#2Nutype is a proc macro that allows adding extra constraints like sanitization and validation to the regular newtype pattern. The generated code makes it impossible to instantiate a value without passing the checks. It works this way even with serde deserialization.