[package]
name = "validator"
version = "0.8.0"
authors = ["Vincent Prouillet <prouillet.vincent@gmail.com"]
description = "Common validation functions (email, url, length, ...) and trait - to be used with `validator_derive`"
homepage = "https://github.com/Keats/validator"
keywords = ["validation", "api", "validator"]
license = "MIT"
repository = "https://github.com/Keats/validator"
[dependencies.card-validate]
version = "2.1"
optional = true
[dependencies.idna]
version = "0.1"
[dependencies.lazy_static]
version = "1"
[dependencies.phonenumber]
version = "0.2.0+8.7.0"
optional = true
[dependencies.regex]
version = "1"
[dependencies.serde]
version = "1"
[dependencies.serde_derive]
version = "1"
[dependencies.serde_json]
version = "1"
[dependencies.url]
version = "1"
[features]
card = ["card-validate"]
phone = ["phonenumber"]