From 58c1832578a103498b0120469b7a5d84833ad1b5 Mon Sep 17 00:00:00 2001 From: Sam Scott Date: Sat, 5 Mar 2022 16:39:51 -0600 Subject: Add an `actix` feature to provide a nicer error message (#57) * Add an `actix` feature to provide a nicer error message for people migrating from <= 0.8 * Fix tests. * Bump version in readme. --- tests/test_actix.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/test_actix.rs') diff --git a/tests/test_actix.rs b/tests/test_actix.rs index 5159977..792afb2 100644 --- a/tests/test_actix.rs +++ b/tests/test_actix.rs @@ -1,5 +1,7 @@ #![cfg(any(feature = "actix4", feature = "actix3", feature = "actix2"))] +#[cfg(feature = "actix2")] +extern crate actix_web2 as actix_web; #[cfg(feature = "actix3")] extern crate actix_web3 as actix_web; #[cfg(feature = "actix4")] -- cgit v1.2.3