validate

Crates.iovalidate
lib.rsvalidate
version0.6.1
sourcesrc
created_at2015-05-23 22:35:08.741431
updated_at2017-10-16 23:23:30.850295
descriptionA library to easily validate user input
homepagehttps://github.com/fuchsnj/validate
repositoryhttps://github.com/fuchsnj/validate
max_upload_size
id2183
size8,138
Nathan (fuchsnj)

documentation

https://github.com/fuchsnj/validate

README

Validate

A library to easily validate user input

Usage

Add this to your Cargo.toml:

[dependencies]
validate = "*"

and this to your crate root:

extern crate validate;

Example

use validate::*;

assert!(email().validate(&"test@domain.com").is_ok());
assert!(bound(..3).validate(&2).is_ok())
Commit count: 23

cargo fmt