-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
96 lines (76 loc) · 1.73 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
[package]
name = "reywen_http"
version = "0.1.18"
edition = "2021"
license = "GPL-3.0-only"
description = "A simple and easy to use HTTPv2 library for Rust (based on tokio/reqwest)"
# hyper
[dependencies.hyper]
version = "0.14.27"
optional = true
[dependencies.hyper-rustls]
version = "0.24.0"
optional = true
[dependencies.hyper-tls]
version = "0.5.0"
optional = true
# reqwest
[dependencies.reqwest]
version = "0.11.22"
optional = true
[dependencies.url]
version = "2.4.1"
optional = true
# wasm
[dependencies.wasm-bindgen]
version = "0.2.87"
optional = true
[dependencies.web-sys]
version = "0.3.64"
optional = true
features = ["ReadableStreamDefaultReader"]
[dependencies.wasm-bindgen-futures]
version = "0.4.37"
optional = true
[dependencies.js-sys]
version = "0.3.64"
optional = true
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test]
version = "0.3.0"
[dependencies.reqwasm]
version = "0.5.0"
optional = true
# async
[target.'cfg(target_arch = "wasm32")'.dependencies.tokio]
version = "1.32.0"
features = ["macros", "rt"]
[dependencies.tokio]
version = "1.32.0"
features = ["macros"]
[dependencies.serde]
version = "1.0.188"
optional = true
default-features = false
[dependencies.serde_json]
version = "1.0.107"
optional = true
default-features = false
features = ["std"]
[dependencies.urlencoding]
version = "2.1.3"
optional = true
default-features = false
[features]
serde = ["dep:serde", "dep:serde_json"]
encoding = ["dep:urlencoding"]
hyper_engine = ["dep:hyper", "dep:hyper-rustls", "dep:hyper-tls"]
reqwest_engine = ["dep:reqwest", "dep:url"]
reqwasm_engine = [
"dep:wasm-bindgen",
"dep:wasm-bindgen-futures",
"dep:web-sys",
"dep:js-sys",
"dep:reqwasm",
]
[lib]
crate-type = ["cdylib", "rlib"]