aboutsummaryrefslogtreecommitdiffstats
path: root/validator_derive/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'validator_derive/src/lib.rs')
-rw-r--r--validator_derive/src/lib.rs13
1 files changed, 7 insertions, 6 deletions
diff --git a/validator_derive/src/lib.rs b/validator_derive/src/lib.rs
index a0a1c82..b5a76c1 100644
--- a/validator_derive/src/lib.rs
+++ b/validator_derive/src/lib.rs
@@ -1,20 +1,21 @@
#![recursion_limit = "128"]
#[macro_use]
-extern crate quote;
+extern crate if_chain;
+#[macro_use]
+extern crate lazy_static;
extern crate proc_macro;
extern crate proc_macro2;
#[macro_use]
-extern crate syn;
+extern crate quote;
+extern crate regex;
#[macro_use]
-extern crate if_chain;
+extern crate syn;
extern crate validator;
-use std::collections::HashMap;
-
use proc_macro::TokenStream;
use quote::ToTokens;
-
+use std::collections::HashMap;
use validator::Validator;