Skip to content

Misc fixes and refactors#145

Merged
deedy5 merged 6 commits into
mainfrom
dev
May 17, 2026
Merged

Misc fixes and refactors#145
deedy5 merged 6 commits into
mainfrom
dev

Conversation

@deedy5

@deedy5 deedy5 commented May 17, 2026

Copy link
Copy Markdown
Owner

Summary:

This PR bundles several small improvements across the primp and primp-python crates:

  • MSRV bump to 1.89.0
  • Fix wasm32 build — gate h2-referencing code behind not(target_arch = "wasm32")
  • Deflate consistency — add deflate field to BrowserSettings, default it true in all browser impersonators, wire it into apply_impersonation()
  • Dep cleanup — replace once_cell::sync::Lazy with std::sync::LazyLock; remove unused h2, webpki-root-certs, typed-builder from primp-python
  • Sync/async dedup — extract 6 identical methods from Client and AsyncClient into shared functions in client_builder.rs, removing ~40 lines of duplicate code
    Also includes earlier routine upstream merges, clippy fixes, and a CI fix already on the branch.

@deedy5 deedy5 merged commit cd9ea83 into main May 17, 2026
38 checks passed
@deedy5 deedy5 deleted the dev branch May 17, 2026 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant