From d4c2caa53736ada8cd78e256fb95019b79e74bf7 Mon Sep 17 00:00:00 2001 From: Omid Rad Date: Sat, 5 Mar 2022 23:11:59 +0100 Subject: Actix 4 (#56) * Remove all default actix features * Set MSRV * Have `actix4` feature, instead of `actix` * enable actix tests for all features --- src/lib.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index f133278..dd97095 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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; -- cgit v1.2.3