diff options
author | Sam Scott <sam@osohq.com> | 2022-03-05 16:39:51 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-05 17:39:51 -0500 |
commit | 58c1832578a103498b0120469b7a5d84833ad1b5 (patch) | |
tree | 5af2062e91bc3fd92f93a08b64744a1c60e2ee6f /tests | |
parent | d4c2caa53736ada8cd78e256fb95019b79e74bf7 (diff) |
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.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_actix.rs | 2 |
1 files changed, 2 insertions, 0 deletions
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")] |