-
Notifications
You must be signed in to change notification settings - Fork 89
/
Cargo.toml
142 lines (135 loc) · 4.85 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
[workspace]
exclude = [
"vendor/cargo/scale-info-2.10.0"
]
resolver = "2"
members = [
"common/internal-types",
"common/network-types",
"common/primitive-types",
"crypto/packet",
"crypto/random",
"crypto/sphinx",
"crypto/types",
"chain/actions",
"chain/api",
"chain/indexer",
"chain/types",
"chain/rpc",
"db/api",
"db/sql",
"db/migration",
"db/entity",
"ethereum/bindings",
"hopli",
"hopr-socks/hopr-socks-server",
"hopr/hopr-lib",
"hoprd/rest-api",
"hoprd/hoprd",
"hoprd/inbox",
"hoprd/keypair",
"logic/path",
"logic/strategy",
"misc/metrics",
"misc/platform",
"transport/network",
"transport/protocol",
"transport/p2p",
"transport/api",
]
[workspace.dependencies]
async-broadcast = "0.7.0"
async-channel = "2.1"
async-lock = "3.3"
async-signal = "0.2"
async-std = { version = "1.12.0", features = ["attributes"] }
async-stream = "0.3.5"
async-trait = "0.1"
aquamarine = "0.5.0"
atomic_enum = "0.3.0"
base64 = "0.22.1"
bincode = "1.3.3"
clap = { version = "4.4", features = ["derive", "env", "string"] }
chrono = { version = "0.4" }
daemonize = "0.5"
ethers = { version = "2.0.10", default-features = false }
env_logger = "0.11.3"
futures = "0.3.28"
futures-lite = "1.12.0"
futures-concurrency = "7.3.0"
futures-timer = "3.0.2"
generic-array = { version = "0.14.7", features = ["zeroize"] }
getrandom = "0.2.10"
hex = "0.4.3"
hex-literal = "0.4.1"
lazy_static = "1.4.0"
libp2p-identity = { version = "0.2.5", features = ["peerid", "ed25519", "rand"] }
libp2p-mplex = "0.41.0"
libp2p = { version = "0.53.2" }
moka = { version = "0.12", features = ["future"] }
mockall = "0.12.1"
multiaddr = "0.18.0"
num_enum = "0.7"
parameterized = "2.0.0"
primitive-types = { version = "0.12.2", features = ["serde"] }
regex = "1"
rust-stream-ext-concurrent = "1"
semver = "1"
serde = { version = "1.0", features = ["derive"] }
serde_bytes = "0.11"
serde_json = "1.0"
serde_with = { version = "3.3" }
sea-orm = { version = "0.12", features = ["sqlx-sqlite", "with-chrono", "debug-print"] }
sea-orm-cli = { version = "0.12", features = ["codegen"] }
sea-orm-migration = { version = "0.12", features = ["sqlx-sqlite", "with-chrono"]}
signal-hook = "0.3"
smart-default = "0.7"
sqlx = { version = "0.7.3", default-features = false, features = ["sqlite", "macros", "migrate"] }
strum = { version = "0.26.2", features = ["derive"] }
tempfile = "3"
thiserror = "1.0"
tokio = { version = "1.37.0", features = ["rt-multi-thread", "macros"] }
tracing = { version = "0.1" }
tracing-futures = { version = "0.2" }
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt", "registry", "std"]}
tracing-test = { version = "0.2.4", features = ["no-env-filter"] }
typenum = "1.17.0"
uuid = { version = "1.7.0" }
validator = { version = "0.18.1", features = ["derive"] }
bindings = { path = "ethereum/bindings", default-features = false }
chain-actions = { path = "chain/actions", default-features = false }
chain-api = { path = "chain/api", default-features = false }
chain-rpc = { path = "chain/rpc", default-features = false }
chain-types = { path = "chain/types", default-features = false }
chain-indexer = { path = "chain/indexer", default-features = false }
hopr-crypto-random = { path = "crypto/random", default-features = false }
hopr-crypto-packet = { path = "crypto/packet", default-features = false }
hopr-crypto-sphinx = { path = "crypto/sphinx", default-features = false, features = ["x25519"] }
hopr-crypto-types = { path = "crypto/types", default-features = false }
core-network = { path = "transport/network", default-features = false }
core-path = { path = "logic/path", default-features = false }
core-protocol = { path = "transport/protocol", default-features = false }
core-p2p = { path = "transport/p2p", default-features = false }
core-transport = { path = "transport/api", default-features = false }
hopr-internal-types = { path = "common/internal-types", default-features = false }
hopr-db-api = { path = "db/api" }
hopr-db-sql = { path = "db/sql" }
hopr-db-entity = { path = "db/entity" }
hopr-db-migration = { path = "db/migration" }
hopr-lib = { path = "hopr/hopr-lib" }
hopr-metrics = { path = "misc/metrics", default-features = false }
hopr-platform = { path = "misc/platform" }
hopr-primitive-types = { path = "common/primitive-types", default-features = false }
hopr-network-types = { path = "common/network-types", default-features = false }
hopr-strategy = { path = "logic/strategy", default-features = false }
hoprd-api = { path = "hoprd/rest-api", default-features = false }
hoprd-inbox = { path = "hoprd/inbox", default-features = false }
hoprd-keypair = { path = "hoprd/keypair", default-features = false }
# [build]
# rustflags = ["-C", "link-arg=-fuse-ld=lld"] # needs the "pkgs.llvmPackages.bintools" nix package
[profile.release]
codegen-units = 1
lto = "fat"
panic = "abort"
strip = true
opt-level = 3