-
Notifications
You must be signed in to change notification settings - Fork 9
/
Cargo.toml
109 lines (92 loc) · 3.06 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
97
98
99
100
101
102
103
104
105
106
107
108
109
[package]
name = "echo-server"
version = "0.41.8"
edition = "2021"
authors = [
"Harry Bairstow <[email protected]>"
]
build = "build.rs"
resolver = "2"
[features]
full = ["functional_tests", "multitenant", "analytics", "geoblock", "cloud", "apns_tests", "fcm_tests", "fcmv1_tests"]
# Used to enable functional tests
functional_tests = []
# Multi-tenancy mode
multitenant = []
# Enable analytics
analytics = []
# Geoblocking
geoblock = []
# Enable cloud app validations
cloud = []
apns_tests = []
fcm_tests = []
fcmv1_tests = []
[dependencies]
wc = { git = "https://github.com/WalletConnect/utils-rs.git", tag = "v0.11.1", features = ["full"] }
tokio = { version = "1", features = ["full"] }
axum = { version = "0.7.5", features = ["json", "multipart", "tokio"] }
axum-client-ip = "0.5.1"
tower = "0.4.13"
tower-http = { version = "0.5.2", features = ["trace", "cors", "request-id", "propagate-header", "catch-panic", "util"] }
hyper = "1.2.0"
# Database
sqlx = { version = "0.6", features = ["runtime-tokio-native-tls", "postgres", "json", "chrono", "macros"] }
# Seralisation
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Env Vars
dotenv = "0.15"
envy = "0.4"
# Build-time info
build-info = "0.0"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "parking_lot"] }
tracing-appender = "0.2"
tracing-opentelemetry = "0.18"
atty = "0.2"
# Push
a2 = { version = "0.10.0", features = ["tracing", "openssl"] }
fcm = "0.9"
# fcm_v1 = { git = "https://github.com/rj76/fcm-rust.git", package = "fcm" }
fcm_v1 = { git = "https://github.com/WalletConnect/fcm-rust.git", package = "fcm", branch = "feat/key-not-from-file", default-features = false, features = ["native-tls"] } # TODO use above version once released
# Signature validation
ed25519-dalek = "2.1.1"
# JWT Authentication
relay_rpc = { git = "https://github.com/WalletConnect/WalletConnectRust.git", tag = "v0.29.4" }
jsonwebtoken = "8.1"
data-encoding = "2.3"
# Analytics
aws-config = "1.1.9"
aws-sdk-s3 = "1.21.0"
parquet = { git = "https://github.com/WalletConnect/arrow-rs.git", rev = "99a1cc3", default-features = false, features = ["flate2"] }
parquet_derive = { git = "https://github.com/WalletConnect/arrow-rs.git", rev = "99a1cc3" }
# Misc
reqwest = { version = "0.12.4", features = ["multipart", "json"] }
async-trait = "0.1"
thiserror = "1.0"
hex = "0.4"
base64 = "0.21"
chrono = { version = "0.4", features = ["serde"] }
uuid = { version = "1.2", features = ["v4"] }
is-variant-derive = { path = "crates/is-variant-derive" }
once_cell = "1.15"
pnet_datalink = "0.31"
ipnet = "2.5"
tap = "1.0.1"
wiremock = "0.6.0"
moka = { version = "0.12", features = ["future"] }
[dev-dependencies]
serial_test = "1.0"
test-context = "0.1"
futures-util = "0.3"
random-string = "1.0"
rand = "0.8"
ed25519-dalek = { version = "2.1.1", features = ["rand_core"] }
[build-dependencies]
build-info-build = "0.0"
# [patch.'https://github.com/WalletConnect/fcm-rust.git']
# fcm = { path = "../fcm-rust" }
# [patch.'https://github.com/WalletConnect/gauth-rs.git']
# gauth = { path = "../gauth-rs" }