rm validator_derive

This commit is contained in:
Aravinth Manivannan 2021-03-11 14:01:36 +05:30
parent 63cbd40b60
commit 61f2d1d5a2
Signed by: realaravinth
GPG key ID: AD9F0F08E855ED88
2 changed files with 1 additions and 3 deletions

View file

@ -22,8 +22,7 @@ rust-argon2 = "0.8.3"
derive_more = "0.99.11"
unicode-normalization = "0.1.6"
ammonia = "3.1.0"
validator = "0.12.0"
validator_derive = "0.12.0"
validator = { version = "0.12.0", features = ["derive"]}
lazy_static = "1.4.0"
regex = { version = "1.3.9", features = [ "perf-inline", "perf-dfa", "perf-literal", "perf-cache", "perf"]}
rand = "0.8.0"

View file

@ -1,7 +1,6 @@
//! Credential processor and configuration
use derive_builder::Builder;
use validator::Validate;
use validator_derive::Validate;
use crate::errors::*;
use crate::filters::{beep, filter, forbidden};