aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2018-07-22 15:47:31 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2018-07-22 15:47:31 +0100
commit7a994eb95b0fa447e95d7d28a020fd30143b87b6 (patch)
treec33ce2285a171028e96732560408b1c3f6d0486a /testing/tests
parent879832099565fa051c3877558f85a8e194dc0ce6 (diff)
downloadaskama-7a994eb95b0fa447e95d7d28a020fd30143b87b6.tar.gz
askama-7a994eb95b0fa447e95d7d28a020fd30143b87b6.tar.bz2
askama-7a994eb95b0fa447e95d7d28a020fd30143b87b6.zip
Work around conflicting dependencies for actix-web and rocket
Diffstat (limited to '')
-rw-r--r--testing/tests/actix_web.rs1
-rw-r--r--testing/tests/rocket.rs2
2 files changed, 2 insertions, 1 deletions
diff --git a/testing/tests/actix_web.rs b/testing/tests/actix_web.rs
index 12724d9..e2d8bcf 100644
--- a/testing/tests/actix_web.rs
+++ b/testing/tests/actix_web.rs
@@ -1,3 +1,4 @@
+#![cfg(feature = "actix")]
#[macro_use]
extern crate askama;
extern crate actix_web;
diff --git a/testing/tests/rocket.rs b/testing/tests/rocket.rs
index c613311..2bf4713 100644
--- a/testing/tests/rocket.rs
+++ b/testing/tests/rocket.rs
@@ -1,4 +1,4 @@
-#![cfg(feature = "rocket")]
+#![cfg(feature = "with-rocket")]
#![feature(plugin)]
#![plugin(rocket_codegen)]