From c6e5914a31e0d602695a3ea601f6976a1ab07d0e Mon Sep 17 00:00:00 2001 From: Sam Scott Date: Sun, 7 Apr 2024 14:36:05 -0500 Subject: Actix: extract querystring from form data (#98) * Deprecate support for actix-web 2.0 * Update actix.rs Added QsForm to support application/x-www-form-urlencoded Web forms * Update actix.rs with working adjustments Added Into_inner function for both QsQuery and QsForm to behave like actix_webs default extractors Made some fixes * Added missing code to actix.rs for QsForm * Update actix.rs Added new trait "IntoInner" Fixed QsFormConfig not correctly setting new settings correctly * Update actix.rs Removed trait requirement for using into_inner() now functions as a function. * Update src/actix.rs * Remove redundant config, add tests * Add changelog * Bump serde qs version * Add Debug bound to docs example --------- Co-authored-by: nMessage <135612238+nMessage@users.noreply.github.com> --- Cargo.toml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 8189267..8293f82 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,13 +9,12 @@ license = "MIT/Apache-2.0" name = "serde_qs" repository = "https://github.com/samscott89/serde_qs" readme = "README.md" -version = "0.12.0" +version = "0.13.0" rust-version = "1.36" [dependencies] actix-web4 = { version = "4.0", optional = true, package = "actix-web", default-features = false } actix-web3 = { version = "3.3", optional = true, package = "actix-web", default-features = false } -actix-web2 = { version = "2.0", optional = true, package = "actix-web", default-features = false } futures = { version = "0.3", optional = true } percent-encoding = "2.1" serde = "1.0" @@ -36,8 +35,8 @@ serde_with = "2.0" default = [] actix4 = ["actix-web4", "futures"] actix3 = ["actix-web3", "futures"] -actix2 = ["actix-web2", "futures"] # deprecated feature -- used to return a warning +actix2 = [] actix = [] warp = ["futures", "tracing", "warp-framework"] axum = ["axum-framework", "futures"] -- cgit v1.2.3