Skip to main content

Crate sanitizer_macros

Crate sanitizer_macros 

Source
Expand description

Macros that allows seamless sanitizing on struct fields

Derive Macrosยง

Sanitizer
The Sanitizer derive macro implements the Sanitizer trait for you. The trait only has a single associated function called sanitize which edits the fields based on the sanitizer you specified in the helper attributes