Skip to content

Commit

Permalink
Migrate to async reqwest_impersonate::Client, use rayon ThreadPool an…
Browse files Browse the repository at this point in the history
…d Tokio multi-thread runtime
  • Loading branch information
deedy5 committed May 1, 2024
1 parent 839b7b8 commit c96f87c
Show file tree
Hide file tree
Showing 4 changed files with 231 additions and 138 deletions.
64 changes: 51 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ crate-type = ["cdylib"]
pyo3 = { version = "0.21", features = ["extension-module", "abi3-py38"] }
reqwest-impersonate = { version = "0.11", default-features = false, features = [
"cookies",
"blocking",
"boring-tls",
"impersonate",
"json",
Expand All @@ -28,6 +27,8 @@ reqwest-impersonate = { version = "0.11", default-features = false, features = [
encoding_rs = "0.8"
pythonize = "0.21"
serde_json = "1"
tokio = { version = "1", features = ["fs", "rt-multi-thread"] }
rayon = "1"

[profile.release]
codegen-units = 1
Expand Down
Loading

0 comments on commit c96f87c

Please sign in to comment.