Skip to content

Conversation

@CathalMullan
Copy link

Resolves #2823

These changes allow using reqwest without serde (and even syn for a good number of features).

First commit wraps the RequestBuilder::query() and RequestBuilder::form() methods in new feature flags: query, form. These features are enabled by default, so the change would only impact anyone setting default-features = false.

Second commit removes the use of serde_json for WASM header parsing, instead using JS array access.

Technically this still pulls in serde due to a bug in url, but that should be resolved in the next release.

@seanmonstar seanmonstar added the B-breaking-change Blocked: breaking change. label Nov 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

B-breaking-change Blocked: breaking change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow using reqwest without serde

2 participants