sanitizer_macros

Crates.iosanitizer_macros
lib.rssanitizer_macros
version0.2.2
sourcesrc
created_at2020-12-21 10:59:16.693072
updated_at2021-11-04 06:55:34.550177
descriptionDerive macro for the sanitizer crate
homepage
repository
max_upload_size
id325184
size39,889
Pradeep Kumar (RabidFire)

documentation

README

sanitizer-macros

Derive macros for sanitizer crate

Usage

use sanitizer::prelude::*;

#[derive(Sanitize)]
struct User {
	#[sanitize(trim)]
	name: String,
	#[sanitize(trim, lower_case)]
	email: String
}
Commit count: 0

cargo fmt