-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
42 lines (37 loc) · 1.24 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
[package]
name = "ergoreq"
version = "0.2.1"
edition = "2021"
readme = "README.md"
description = "A human-centric web request client developed based on Reqwest, supporting automatic cookie management, automatic retries, and custom middleware."
keywords = ["client", "http", "request", "reqwest"]
categories = ["web-programming::http-client", "web-programming"]
license = "MIT"
repository = "https://github.com/RecordingTheSmile/ergoreq"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
reqwest = { version = "^0", default-features = false, features = [
"json",
"multipart",
] }
paste = { version = "^1" }
serde = "^1"
http = "^1"
cookie = { version = "^0", features = ["percent-encode"] }
dashmap = { version = "^6", features = ["inline", "serde"] }
chrono = "^0"
url = "^2"
anyhow = "^1"
async-trait = "^0"
retry-policies = "^0"
tracing = "^0"
[dev-dependencies]
tokio = { version = "^1", features = ["full"] }
reqwest = { version = "^0", features = [
"rustls-tls",
], default-features = false }
serde_json = "^1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tokio = { version = "^1", features = ["time"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-timer = "^0"