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};