summaryrefslogtreecommitdiff
path: root/tests/test_actix.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_actix.rs')
-rw-r--r--tests/test_actix.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/test_actix.rs b/tests/test_actix.rs
index 062cf0c..5159977 100644
--- a/tests/test_actix.rs
+++ b/tests/test_actix.rs
@@ -1,6 +1,9 @@
-#![cfg(feature = "actix")]
+#![cfg(any(feature = "actix4", feature = "actix3", feature = "actix2"))]
-extern crate actix_web;
+#[cfg(feature = "actix3")]
+extern crate actix_web3 as actix_web;
+#[cfg(feature = "actix4")]
+extern crate actix_web4 as actix_web;
extern crate serde;
#[macro_use]