diff options
Diffstat (limited to '')
| -rw-r--r-- | testing/Cargo.toml | 5 | ||||
| -rw-r--r-- | testing/tests/rocket.rs | 4 | 
2 files changed, 4 insertions, 5 deletions
| diff --git a/testing/Cargo.toml b/testing/Cargo.toml index 15cbfe2..3071542 100644 --- a/testing/Cargo.toml +++ b/testing/Cargo.toml @@ -9,7 +9,7 @@ actix = ["actix-web", "bytes", "askama/with-actix-web"]  default = []  full = ["actix", "with-iron", "serde-json"]  serde-json = ["serde_json", "askama/serde-json"] -with-rocket = ["rocket", "rocket_codegen", "askama/with-rocket"] +with-rocket = ["rocket", "askama/with-rocket"]  with-iron = ["iron", "askama/with-iron"]  [dependencies] @@ -17,8 +17,7 @@ actix-web = { version = "0.7", optional = true }  askama = { path = "../askama", version = "*" }  bytes = { version = "0.4", optional = true }  iron = { version = "0.6", optional = true } -rocket = { version = "0.3", optional = true } -rocket_codegen = { version = "0.3", optional = true } +rocket = { version = "0.4", optional = true }  serde_json = { version = "1.0", optional = true }  [build-dependencies] diff --git a/testing/tests/rocket.rs b/testing/tests/rocket.rs index 2bf4713..93cf93d 100644 --- a/testing/tests/rocket.rs +++ b/testing/tests/rocket.rs @@ -1,9 +1,9 @@  #![cfg(feature = "with-rocket")] -#![feature(plugin)] -#![plugin(rocket_codegen)] +#![feature(proc_macro_hygiene, decl_macro)]  #[macro_use]  extern crate askama; +#[macro_use]  extern crate rocket;  use askama::Template; | 
