summaryrefslogtreecommitdiff
path: root/wire-gateway/Cargo.toml
blob: 7d6a46ef09455fc484a8b841c9b9eefe41137af9 (plain)
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
[package]
name = "wire-gateway"
version = "0.1.0"
edition = "2021"
license = "AGPL-3.0-or-later"
rust-version = "1.63.0"

[dependencies]
# Http library
hyper = { version = "0.14.23", features = ["http1", "server", "runtime"] }
# Hyper compat lib for unix domain socket
hyperlocal = "0.8.0"
# Async runtime
tokio = { version = "1.24.2", features = ["net", "macros", "rt-multi-thread"] }
# Serialization framework
serde = { version = "1.0.152", features = ["derive"] }
# Serialization helper
serde_with = "2.2.0"
# JSON serialization
serde_json = "1.0.91"
# Url query serialization
serde_urlencoded = "0.7.1"
# Error macros
thiserror = "1.0.38"
# Deflate compression
miniz_oxide = "0.6.2"
# Async postgres client
tokio-postgres = { version = "0.7.7" }
deadpool-postgres = "0.10.4"
# Socket activation
listenfd = "1.0.0"
# Common lib
common = { path = "../common" }
# Bitcoin types
bitcoin = { version = "0.29.2" }
# Ethereum types
ethereum-types = { version = "0.14.1", default-features = false }
# Cli args parser
clap = { version = "=4.0.32", features = ["derive"] }
clap_lex = "=0.3.0"

[features]
# Enable test admin endpoint
test = []