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 /src/lib.rs | |
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 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -142,7 +142,7 @@ //! //! ## Use with `actix_web` extractors //! -//! The `actix` feature enables the use of `serde_qs::actix::QsQuery`, which +//! The `actix4`, `actix3` or `actix2` features enable the use of `serde_qs::actix::QsQuery`, which //! is a direct substitute for the `actix_web::Query` and can be used as an extractor: //! //! ```ignore @@ -151,7 +151,9 @@ //! } //! ``` //! -//! Support for `actix-web 2.0.0` is available via the `actix2` feature. +//! Support for `actix-web 4.0` is available via the `actix4` feature. +//! Support for `actix-web 3.0` is available via the `actix3` feature. +//! Support for `actix-web 2.0` is available via the `actix2` feature. //! //! ## Use with `warp` filters //! @@ -170,7 +172,7 @@ #[macro_use] extern crate serde; -#[cfg(any(feature = "actix", feature = "actix2"))] +#[cfg(any(feature = "actix4", feature = "actix3", feature = "actix2"))] pub mod actix; mod de; mod error; |