-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
69 lines (61 loc) · 1.64 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
# Root Crate
[package]
name = "wc"
version = "0.1.0"
edition = "2021"
authors = ["WalletConnect Team"]
license = "MIT"
[workspace]
members = [
"crates/*",
]
[features]
default = []
full = [
"alloc",
"analytics",
"profiler",
"collections",
"future",
"geoblock",
"geoip",
"metrics",
"rate_limit",
]
alloc = ["dep:alloc"]
analytics = ["dep:analytics"]
collections = ["dep:collections"]
future = ["dep:future"]
geoblock = ["geoip/middleware"]
geoip = ["dep:geoip"]
metrics = ["dep:metrics", "alloc/metrics"]
alloc_metrics = ["alloc/metrics"]
profiler = ["alloc/profiler"]
rate_limit = ["dep:rate_limit"]
[workspace.dependencies]
aws-sdk-s3 = "1.21.0"
[dependencies]
alloc = { path = "./crates/alloc", optional = true }
analytics = { path = "./crates/analytics", optional = true }
collections = { path = "./crates/collections", optional = true }
future = { path = "./crates/future", optional = true }
geoip = { path = "./crates/geoip", optional = true }
metrics = { package = "wc_metrics", path = "./crates/metrics", optional = true }
rate_limit = { path = "./crates/rate_limit", optional = true }
[dev-dependencies]
anyhow = "1"
structopt = { version = "0.3", default-features = false }
tokio = { version = "1", features = ["full"] }
hyper = { version = "1.2.0", features = ["full"] }
tower = { version = "0.4", features = ["util", "filter"] }
axum = "0.7.5"
metrics-exporter-prometheus = { version = "0.15", default-features = false }
[[example]]
name = "alloc_profiler"
required-features = ["alloc", "profiler"]
[[example]]
name = "alloc_stats"
required-features = ["alloc", "metrics"]
[[example]]
name = "geoblock"
required-features = ["geoblock"]