Skip to content

fuchsnj/validate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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())

About

Rust input validation library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages