diff options
Diffstat (limited to '')
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | testing/tests/actix_web.rs | 3 | ||||
-rw-r--r-- | testing/tests/filters.rs | 1 | ||||
-rw-r--r-- | testing/tests/hello.rs | 1 | ||||
-rw-r--r-- | testing/tests/include.rs | 1 | ||||
-rw-r--r-- | testing/tests/inheritance.rs | 1 | ||||
-rw-r--r-- | testing/tests/iron.rs | 1 | ||||
-rw-r--r-- | testing/tests/loops.rs | 1 | ||||
-rw-r--r-- | testing/tests/macro.rs | 1 | ||||
-rw-r--r-- | testing/tests/matches.rs | 1 | ||||
-rw-r--r-- | testing/tests/methods.rs | 1 | ||||
-rw-r--r-- | testing/tests/operators.rs | 1 | ||||
-rw-r--r-- | testing/tests/rocket.rs | 1 | ||||
-rw-r--r-- | testing/tests/rust_macro.rs | 1 | ||||
-rw-r--r-- | testing/tests/simple.rs | 1 | ||||
-rw-r--r-- | testing/tests/vars.rs | 1 |
16 files changed, 1 insertions, 17 deletions
@@ -97,7 +97,6 @@ Hello, {{ name }}! In any Rust file inside your crate, add the following: ```rust -#[macro_use] extern crate askama; // for the Template trait and custom derive macro use askama::Template; // bring trait in scope diff --git a/testing/tests/actix_web.rs b/testing/tests/actix_web.rs index e2d8bcf..880f907 100644 --- a/testing/tests/actix_web.rs +++ b/testing/tests/actix_web.rs @@ -1,7 +1,6 @@ #![cfg(feature = "actix")] -#[macro_use] -extern crate askama; extern crate actix_web; +extern crate askama; extern crate bytes; use actix_web::http::header::CONTENT_TYPE; diff --git a/testing/tests/filters.rs b/testing/tests/filters.rs index 0e48b05..15ce789 100644 --- a/testing/tests/filters.rs +++ b/testing/tests/filters.rs @@ -1,4 +1,3 @@ -#[macro_use] extern crate askama; #[cfg(feature = "serde-json")] #[macro_use] diff --git a/testing/tests/hello.rs b/testing/tests/hello.rs index 09a2e22..ce73ff5 100644 --- a/testing/tests/hello.rs +++ b/testing/tests/hello.rs @@ -1,4 +1,3 @@ -#[macro_use] extern crate askama; use askama::Template; diff --git a/testing/tests/include.rs b/testing/tests/include.rs index f0158d7..8e6773b 100644 --- a/testing/tests/include.rs +++ b/testing/tests/include.rs @@ -1,4 +1,3 @@ -#[macro_use] extern crate askama; use askama::Template; diff --git a/testing/tests/inheritance.rs b/testing/tests/inheritance.rs index 8c07c4e..5a5cf0e 100644 --- a/testing/tests/inheritance.rs +++ b/testing/tests/inheritance.rs @@ -1,4 +1,3 @@ -#[macro_use] extern crate askama; use askama::Template; diff --git a/testing/tests/iron.rs b/testing/tests/iron.rs index 10dcee3..a385225 100644 --- a/testing/tests/iron.rs +++ b/testing/tests/iron.rs @@ -1,5 +1,4 @@ #![cfg(feature = "iron")] -#[macro_use] extern crate askama; extern crate iron; diff --git a/testing/tests/loops.rs b/testing/tests/loops.rs index a0736f5..647c9ca 100644 --- a/testing/tests/loops.rs +++ b/testing/tests/loops.rs @@ -1,4 +1,3 @@ -#[macro_use] extern crate askama; use askama::Template; diff --git a/testing/tests/macro.rs b/testing/tests/macro.rs index 77e0e59..42bcc99 100644 --- a/testing/tests/macro.rs +++ b/testing/tests/macro.rs @@ -1,4 +1,3 @@ -#[macro_use] extern crate askama; use askama::Template; diff --git a/testing/tests/matches.rs b/testing/tests/matches.rs index 9ea1d72..64e8f40 100644 --- a/testing/tests/matches.rs +++ b/testing/tests/matches.rs @@ -1,4 +1,3 @@ -#[macro_use] extern crate askama; use askama::Template; diff --git a/testing/tests/methods.rs b/testing/tests/methods.rs index d1e391f..41117e5 100644 --- a/testing/tests/methods.rs +++ b/testing/tests/methods.rs @@ -1,4 +1,3 @@ -#[macro_use] extern crate askama; use askama::Template; diff --git a/testing/tests/operators.rs b/testing/tests/operators.rs index 5e23dff..91db57d 100644 --- a/testing/tests/operators.rs +++ b/testing/tests/operators.rs @@ -1,4 +1,3 @@ -#[macro_use] extern crate askama; use askama::Template; diff --git a/testing/tests/rocket.rs b/testing/tests/rocket.rs index 93cf93d..2d1251a 100644 --- a/testing/tests/rocket.rs +++ b/testing/tests/rocket.rs @@ -1,7 +1,6 @@ #![cfg(feature = "with-rocket")] #![feature(proc_macro_hygiene, decl_macro)] -#[macro_use] extern crate askama; #[macro_use] extern crate rocket; diff --git a/testing/tests/rust_macro.rs b/testing/tests/rust_macro.rs index 90f1f3e..76ecbad 100644 --- a/testing/tests/rust_macro.rs +++ b/testing/tests/rust_macro.rs @@ -1,4 +1,3 @@ -#[macro_use] extern crate askama; use askama::Template; diff --git a/testing/tests/simple.rs b/testing/tests/simple.rs index 2cb404e..e4473fa 100644 --- a/testing/tests/simple.rs +++ b/testing/tests/simple.rs @@ -1,4 +1,3 @@ -#[macro_use] extern crate askama; use askama::Template; diff --git a/testing/tests/vars.rs b/testing/tests/vars.rs index 81263da..5ec343c 100644 --- a/testing/tests/vars.rs +++ b/testing/tests/vars.rs @@ -1,4 +1,3 @@ -#[macro_use] extern crate askama; use askama::Template; |