diff options
author | Omid Rad <omid@users.noreply.github.com> | 2022-03-05 23:11:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-05 17:11:59 -0500 |
commit | d4c2caa53736ada8cd78e256fb95019b79e74bf7 (patch) | |
tree | 38950f972c074b8106c9306f57246e5bdd723b07 /tests | |
parent | 7addf2f16ad68988e2125677de931b1bade2f9d1 (diff) |
Actix 4 (#56)
* Remove all default actix features
* Set MSRV
* Have `actix4` feature, instead of `actix`
* enable actix tests for all features
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_actix.rs | 7 |
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] |