-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
38 lines (34 loc) · 1010 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[package]
name = "pyreqwest_impersonate"
version = "0.4.6"
edition = "2021"
description = "HTTP client that can impersonate web browsers, mimicking their headers and `TLS/JA3/JA4/HTTP2` fingerprints"
authors = ["deedy5"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "pyreqwest_impersonate"
crate-type = ["cdylib"]
[dependencies]
pyo3 = { version = "0.21", features = ["extension-module", "abi3-py38", "indexmap"] }
reqwest-impersonate = { version = "0.11", default-features = false, features = [
"cookies",
"boring-tls",
"impersonate",
"json",
"multipart", # to send a multipart/form-data body
"socks",
"gzip",
"brotli",
"deflate",
] }
encoding_rs = { version = "0.8" }
indexmap = { version = "2", features = ["serde"] }
pythonize = "0.21"
serde_json = "1"
tokio = { version = "1", features = ["fs", "rt"] }
[profile.release]
codegen-units = 1
lto = "fat"
opt-level = 3
panic = "abort"
strip = "symbols"