mirror of
https://github.com/askama-rs/askama.git
synced 2025-09-29 22:11:17 +00:00
Remove unused macro_use attributes
This commit is contained in:
parent
b18664fe9f
commit
cf8dc532f0
@ -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
|
||||
|
@ -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;
|
||||
|
@ -1,4 +1,3 @@
|
||||
#[macro_use]
|
||||
extern crate askama;
|
||||
#[cfg(feature = "serde-json")]
|
||||
#[macro_use]
|
||||
|
@ -1,4 +1,3 @@
|
||||
#[macro_use]
|
||||
extern crate askama;
|
||||
|
||||
use askama::Template;
|
||||
|
@ -1,4 +1,3 @@
|
||||
#[macro_use]
|
||||
extern crate askama;
|
||||
|
||||
use askama::Template;
|
||||
|
@ -1,4 +1,3 @@
|
||||
#[macro_use]
|
||||
extern crate askama;
|
||||
|
||||
use askama::Template;
|
||||
|
@ -1,5 +1,4 @@
|
||||
#![cfg(feature = "iron")]
|
||||
#[macro_use]
|
||||
extern crate askama;
|
||||
extern crate iron;
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
#[macro_use]
|
||||
extern crate askama;
|
||||
|
||||
use askama::Template;
|
||||
|
@ -1,4 +1,3 @@
|
||||
#[macro_use]
|
||||
extern crate askama;
|
||||
|
||||
use askama::Template;
|
||||
|
@ -1,4 +1,3 @@
|
||||
#[macro_use]
|
||||
extern crate askama;
|
||||
|
||||
use askama::Template;
|
||||
|
@ -1,4 +1,3 @@
|
||||
#[macro_use]
|
||||
extern crate askama;
|
||||
|
||||
use askama::Template;
|
||||
|
@ -1,4 +1,3 @@
|
||||
#[macro_use]
|
||||
extern crate askama;
|
||||
|
||||
use askama::Template;
|
||||
|
@ -1,7 +1,6 @@
|
||||
#![cfg(feature = "with-rocket")]
|
||||
#![feature(proc_macro_hygiene, decl_macro)]
|
||||
|
||||
#[macro_use]
|
||||
extern crate askama;
|
||||
#[macro_use]
|
||||
extern crate rocket;
|
||||
|
@ -1,4 +1,3 @@
|
||||
#[macro_use]
|
||||
extern crate askama;
|
||||
|
||||
use askama::Template;
|
||||
|
@ -1,4 +1,3 @@
|
||||
#[macro_use]
|
||||
extern crate askama;
|
||||
|
||||
use askama::Template;
|
||||
|
@ -1,4 +1,3 @@
|
||||
#[macro_use]
|
||||
extern crate askama;
|
||||
|
||||
use askama::Template;
|
||||
|
Loading…
x
Reference in New Issue
Block a user