forked from alloy-rs/alloy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
30 lines (24 loc) · 916 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
[package]
name = "alloy-transport-http"
description = "HTTP transport implementation"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
exclude.workspace = true
[dependencies]
alloy-json-rpc = { workspace = true, optional = true }
alloy-transport.workspace = true
url.workspace = true
serde_json = { workspace = true, optional = true }
tower = { workspace = true, optional = true }
reqwest = { workspace = true, features = ["serde_json", "json"], optional = true }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
hyper = { workspace = true, features = ["full"], optional = true }
[features]
default = ["reqwest"]
reqwest = ["dep:reqwest", "dep:alloy-json-rpc", "dep:serde_json", "dep:tower"]
hyper = ["dep:hyper", "dep:alloy-json-rpc", "dep:serde_json", "dep:tower"]