-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
145 lines (132 loc) · 4.29 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
[package]
name = "relay"
version = "2.3.5"
edition = "2021"
authors = ["Broxus team"]
publish = false
license-file = "LICENSE"
[dependencies]
anyhow = "1.0"
arc-swap = { version = "1.6", features = ["weak"] }
argh = "0.1"
async-trait = "0.1"
atty = "0.2"
base64 = "0.13"
borsh = "0.10"
broxus-util = { version = "0.2", default-features = false, features = [
"serde",
"config",
"alloc",
"public-ip",
] }
chacha20poly1305 = "0.10.1"
chrono = "0.4.19"
config = { version = "0.13.1", default-features = false, features = ["yaml"] }
dashmap = "5.3"
dialoguer = "0.10.0"
either = "1.6.1"
everscale-network = "0.5.5"
everscale-rpc-client = { git = "https://github.com/broxus/everscale-jrpc.git", version = "0.6.1" }
fdlimit = "0.2.1"
futures-util = "0.3"
hex = "0.4"
hyper = { version = "0.14", features = ["server"] }
humantime = "2.1"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
num_cpus = "1.13.1"
num-traits = "0.2"
once_cell = "1.13.0"
parking_lot = { version = "0.12.1", features = ["hardware-lock-elision"] }
pomfrit = "0.1"
rand = "0.8"
reqwest = "0.11.22"
rlimit = "0.10"
rustc-hash = "1.1.0"
secp256k1 = { version = "0.21.3", features = ["recovery"] }
secstr = { version = "0.5", features = ["serde"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "1.0"
tokio = { version = "1", features = [
"sync",
"fs",
"rt-multi-thread",
"macros",
"signal",
"parking_lot",
] }
tryhard = "0.5.0"
url = { version = "2.2.2", features = ["serde"] }
weedb = { version = "0.2.3", features = ["zstd", "lz4", "jemalloc"] }
ed25519-dalek = { git = "https://github.com/broxus/ed25519-dalek.git" }
tiny-bip39 = { git = "https://github.com/broxus/tiny-bip39.git" }
tiny-hderive = { git = "https://github.com/broxus/tiny-hderive.git" }
# ETH
web3 = { version = "0.18.0", default-features = false, features = ["http-rustls-tls", "signing"] }
ethabi = "16.0.0"
# Solana dependencies
solana-sdk = { git = 'https://github.com/broxus/solana', branch = 'broxus' }
solana-client = { git = 'https://github.com/broxus/solana', branch = 'broxus' }
solana-account-decoder = { git = 'https://github.com/broxus/solana', branch = 'broxus' }
solana-transaction-status = { git = 'https://github.com/broxus/solana', branch = 'broxus' }
# TON specific dependencies
ton_block = { git = "https://github.com/broxus/ton-labs-block" }
ton_abi = { git = "https://github.com/broxus/ton-labs-abi" }
ton_types = { git = "https://github.com/broxus/ton-labs-types" }
eth-ton-abi-converter = { git = "https://github.com/broxus/eth-ton-abi-converter.git" }
# Solana Bridge
solana-bridge = { git = "https://github.com/broxus/octusbridge-solana-contracts.git" }
# Nekoton SDK
nekoton-abi = { git = "https://github.com/broxus/nekoton.git", features = ["derive"] }
nekoton-utils = { git = "https://github.com/broxus/nekoton.git", features = ["encryption"] }
# Indexer engine
ton-indexer = { git = "https://github.com/broxus/ton-indexer.git" }
[features]
disable-staking = []
double-broadcast = []
venom = ["ton_block/venom", "ton-indexer/venom"]
ton = ["ton_block/ton", "ton-indexer/ton", "disable-staking", "double-broadcast"]
[dev-dependencies]
cargo-husky = { version = "1", features = ["default", "run-cargo-fmt", "run-cargo-check"] }
pretty_assertions = "1.1.0"
tempfile = "3.3.0"
[patch.crates-io]
hmac-drbg = { git = "https://github.com/Rexagon/rust-hmac-drbg" }
solana-program = { git = 'https://github.com/broxus/solana', branch = 'broxus' }
solana-zk-token-sdk = { git = 'https://github.com/broxus/solana', branch = 'broxus' }
[package.metadata.deb]
maintainer = "Broxus <[email protected]>"
copyright = "2022, Broxus <[email protected]>"
license-file = ["LICENSE", "4"]
extended-description = """\
Octus Bridge relay node that validates transfers across \
multiple blockchains. Supports all EVM based networks."""
depends = "$auto"
section = "utility"
priority = "optional"
features = ["venom"]
assets = [
[
"target/release/relay",
"usr/bin/",
"755",
],
[
"contrib/config.yaml",
"etc/relay/",
"644",
],
[
"contrib/global.config.json",
"etc/relay/",
"644",
],
[
"README.md",
"usr/share/doc/relay/README",
"644",
],
]
maintainer-scripts = "contrib/"
systemd-units = { enable = true }