-
Notifications
You must be signed in to change notification settings - Fork 15
/
Cargo.toml
46 lines (42 loc) · 1.03 KB
/
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
39
40
41
42
43
44
45
46
[package]
name = "primp"
version = "0.9.3"
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 = "primp"
crate-type = ["cdylib"]
[dependencies]
pyo3 = { version = "0.23", features = ["extension-module", "abi3-py38", "indexmap", "anyhow"] }
anyhow = "1"
log = "0.4"
pyo3-log = "0.12"
rquest = { version = "1.2", features = [
"json",
"cookies",
"socks",
"gzip",
"brotli",
"zstd",
"deflate",
"multipart",
"impersonate_str",
"impersonate_settings",
] }
encoding_rs = { version = "0.8" }
foldhash = "0.1"
indexmap = { version = "2", features = ["serde"] }
tokio = { version = "1", features = ["full"] }
html2text = "0.13"
bytes = "1"
pythonize = "0.23"
serde_json = "1"
webpki-root-certs = "0.26"
[profile.release]
codegen-units = 1
lto = "fat"
opt-level = 3
panic = "abort"
strip = "symbols"