[package]
name = "validator_derive"
version = "0.7.0"
authors = ["Vincent Prouillet <vincent@wearewizards.io>"]
description = "Macros 1.1 implementation of #[derive(Validate)]"
homepage = "https://github.com/Keats/validator"
keywords = ["validation", "api", "validator"]
license = "MIT"
repository = "https://github.com/Keats/validator"
[lib]
proc-macro = true
[dependencies.if_chain]
version = "0"
[dependencies.quote]
version = "0.5"
[dependencies.syn]
version = "0.13"
features = ["extra-traits"]
[dependencies.validator]
version = "0.7"
[dev-dependencies.compiletest_rs]
version = "0.3"
[dev-dependencies.lazy_static]
version = "1"
[dev-dependencies.regex]
version = "1"
[dev-dependencies.serde]
version = "1.0"
[dev-dependencies.serde_derive]
version = "1.0"
[dev-dependencies.serde_json]
version = "1.0"
[features]
card = ["validator/card"]
phone = ["validator/phone"]