From 61f2d1d5a2660905939054f6be03e76584965b63 Mon Sep 17 00:00:00 2001 From: realaravinth Date: Thu, 11 Mar 2021 14:01:36 +0530 Subject: [PATCH] rm validator_derive --- Cargo.toml | 3 +-- src/config.rs | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6b5e1f4..ac52764 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/src/config.rs b/src/config.rs index 563687a..8b6922c 100644 --- a/src/config.rs +++ b/src/config.rs @@ -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};