diff --git a/codegen/src/lib.rs b/codegen/src/lib.rs index d4d0a247..a638dbd3 100644 --- a/codegen/src/lib.rs +++ b/codegen/src/lib.rs @@ -144,10 +144,8 @@ #![allow(deprecated)] #[macro_use] extern crate log; -extern crate rustc; extern crate syntax; extern crate syntax_ext; -extern crate syntax_pos; extern crate rustc_plugin; extern crate rocket; diff --git a/contrib/tests/templates.rs b/contrib/tests/templates.rs index c6725af2..abf1de48 100644 --- a/contrib/tests/templates.rs +++ b/contrib/tests/templates.rs @@ -1,4 +1,3 @@ -extern crate rocket; extern crate rocket_contrib; use std::env; diff --git a/examples/handlebars_templates/src/main.rs b/examples/handlebars_templates/src/main.rs index 9fc90593..660aae5c 100644 --- a/examples/handlebars_templates/src/main.rs +++ b/examples/handlebars_templates/src/main.rs @@ -3,7 +3,6 @@ extern crate rocket_contrib; extern crate rocket; -extern crate serde_json; #[macro_use] extern crate serde_derive; #[cfg(test)] mod tests; diff --git a/examples/json/src/main.rs b/examples/json/src/main.rs index c5d04774..e02aa6fc 100644 --- a/examples/json/src/main.rs +++ b/examples/json/src/main.rs @@ -2,7 +2,6 @@ #![plugin(rocket_codegen)] extern crate rocket; -extern crate serde_json; #[macro_use] extern crate rocket_contrib; #[macro_use] extern crate serde_derive; diff --git a/examples/todo/src/main.rs b/examples/todo/src/main.rs index 4e5c2457..2a082108 100644 --- a/examples/todo/src/main.rs +++ b/examples/todo/src/main.rs @@ -2,7 +2,6 @@ #![plugin(rocket_codegen)] extern crate rocket; -extern crate serde_json; #[macro_use] extern crate diesel; #[macro_use] extern crate diesel_codegen; #[macro_use] extern crate serde_derive;