-
Notifications
You must be signed in to change notification settings - Fork 7
/
Cargo.toml
40 lines (36 loc) · 923 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
39
40
[package]
name = "primp"
version = "0.6.5"
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.22", features = ["extension-module", "abi3-py38", "indexmap", "anyhow"] }
anyhow = "1"
log = "0.4"
pyo3-log = "0.11"
rquest = { version = "0.26", features = [
"cookies",
"multipart",
"socks",
"gzip",
"brotli",
"deflate",
"zstd",
] }
encoding_rs = { version = "0.8" }
ahash = "0.8"
indexmap = { version = "2", features = ["serde"] }
tokio = { version = "1", features = ["full"] }
html2text = "0.13"
bytes = "1"
[profile.release]
codegen-units = 1
lto = "fat"
opt-level = 3
panic = "abort"
strip = "symbols"