Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
167 lines (157 loc) · 5.54 KB
/
Copy pathCargo.toml
File metadata and controls
167 lines (157 loc) · 5.54 KB
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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
[workspace]
members = [
"crates/bfte",
"crates/consensus",
"crates/consensus-core",
"crates/consensus-tests",
"crates/db",
"crates/derive-secret",
"crates/invite",
"crates/module",
"crates/modules/accounting",
"crates/modules/accounting-effects",
"crates/modules/bitcoin-bitcoind",
"crates/modules/bitcoin-common",
"crates/modules/bitcoin-multisig",
"crates/modules/bitcoin-onchain",
"crates/modules/bitcoin-onchain-common",
"crates/modules/bitcoin-onchain-effects",
"crates/modules/consensus-ctrl",
"crates/modules/consensus-ctrl-effects",
"crates/modules/meta",
"crates/modules/meta-effects",
"crates/node",
"crates/node-app",
"crates/node-app-core",
"crates/node-core",
"crates/node-shared-modules",
"crates/node-ui",
"crates/node-ui-axum",
"crates/util-array-type",
"crates/util-axum",
"crates/util-bincode",
"crates/util-core",
"crates/util-db",
"crates/util-error",
"crates/util-fmt-opt",
]
resolver = "2"
[workspace.package]
edition = "2024"
version = "0.1.0"
authors = ["Dawid Ciężarkiewicz <dpc@dpc.pw>"]
description = "BFTE is a federated consesus engine"
license = "MIT"
repository = "https://github.com/username/consensus-test"
[workspace.lints.clippy]
collapsible_else_if = "allow"
collapsible_if = "allow"
[workspace.dependencies]
anyhow = "1.0"
assert_matches = "1.5.0"
async-stream = "0.3.6"
async-trait = "0.1.88"
axum = "*"
axum-extra = "*"
backon = "1.5.0"
bfte = { path = "./crates/bfte" }
bfte-consensus = { path = "./crates/consensus" }
bfte-consensus-core = { path = "./crates/consensus-core" }
bfte-consensus-tests = { path = "./crates/consensus-tests" }
bfte-db = { path = "./crates/db" }
bfte-derive-secret = { path = "./crates/derive-secret" }
bfte-invite = { path = "./crates/invite" }
bfte-module = { path = "./crates/module" }
bfte-module-accounting = { path = "./crates/modules/accounting" }
bfte-module-accounting-effects = { path = "./crates/modules/accounting-effects" }
bfte-module-bitcoin-bitcoind = { path = "./crates/modules/bitcoin-bitcoind" }
bfte-module-bitcoin-common = { path = "./crates/modules/bitcoin-common" }
bfte-module-bitcoin-multisig = { path = "./crates/modules/bitcoin-multisig" }
bfte-module-bitcoin-onchain = { path = "./crates/modules/bitcoin-onchain" }
bfte-module-bitcoin-onchain-common = { path = "./crates/modules/bitcoin-onchain-common" }
bfte-module-bitcoin-onchain-effects = { path = "./crates/modules/bitcoin-onchain-effects" }
bfte-module-consensus-ctrl = { path = "./crates/modules/consensus-ctrl" }
bfte-module-consensus-ctrl-effects = { path = "./crates/modules/consensus-ctrl-effects" }
bfte-module-meta = { path = "./crates/modules/meta" }
bfte-module-meta-effects = { path = "./crates/modules/meta-effects" }
bfte-node = { path = "./crates/node" }
bfte-node-app = { path = "./crates/node-app" }
bfte-node-app-core = { path = "./crates/node-app-core" }
bfte-node-core = { path = "./crates/node-core" }
bfte-node-shared-modules = { path = "./crates/node-shared-modules" }
bfte-node-ui = { path = "./crates/node-ui" }
bfte-node-ui-axum = { path = "./crates/node-ui-axum" }
bfte-util-array-type = { path = "./crates/util-array-type" }
bfte-util-axum = { path = "./crates/util-axum" }
bfte-util-bincode = { path = "./crates/util-bincode" }
bfte-util-core = { path = "./crates/util-core" }
bfte-util-db = { path = "./crates/util-db" }
bfte-util-error = { path = "./crates/util-error" }
bfte-util-fmt-opt = { path = "./crates/util-fmt-opt" }
bincode = { version = "2.0.0", features = ["derive"] }
bip39 = "2.0.0"
bit-set = { version = "0.8" }
bitcoin = "*"
blake3 = "1.8.2"
bon = "3.6.1"
bytes = "1.0"
cbor4ii = "1.0.0"
clap = "4.5.37"
convi = { version = "0.1.1", features = ["min_target_pointer_width_32"] }
data-encoding = "2.7"
datastar = "0.2.1"
dirs = "5.0"
derive_more = { version = "2.0.1", features = ["from", "deref", "deref_mut"] }
ed25519-dalek = "2.1.1"
futures = "0.3"
hex = "0.4"
hex-literal = "1"
hkdf = "0.12.0"
iroh = { version = "0.90.0", default-features = false }
iroh-base = { version = "0.90.0", default-features = false }
iroh-dpc-rpc = { version = "*", git = "https://github.com/dpc/iroh-dpc-rpc", rev = "3855fe63f815580a2d0daebc277423050a0273b8" }
listenfd = "1.0.2"
log = "0.4"
maud = "*"
n0-future = "0.1.3"
num-bigint = "0.4.6"
nutype = "0.6.1"
once_cell = "1.21"
rand = "0.8"
redb-bincode = "0.4.0"
secp256k1 = { version = "*" }
serde = { version = "1.0", features = ["derive"] }
serde_bytes = "0.11.17"
serde_json = "1.0.140"
snafu = { version = "0.8.5", features = ["rust_1_81"] }
strum = { version = "*", features = ["derive"] }
test-log = { version = "0.2.16", features = ["trace"] }
time = "0.3.41"
tokio = { version = "1.0", features = ["full"] }
tokio-stream = "*"
tokio-test = "0.4.4"
tower = "*"
tower-http = "0.5"
tower-sessions = "0.14.0"
tracing = "0.1.41"
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
url = "*"
urlencoding = "*"
[profile]
[profile.dev]
# panic = 'abort'
[profile.release]
panic = 'abort'
[profile.ci]
debug = "line-tables-only"
incremental = false
inherits = "dev"
lto = "off"
[profile.dev.package."*"] # external dependencies
opt-level = 1
[patch.crates-io]
redb-bincode = { git = "https://github.com/rustshop/redb-bincode", rev = "e8f2d2783b2972f8e6b097bf1e18d90f1cf570b1" }
# temporarily unblock bip39 conflict with iroh 0.35
# We might need to publish it as a fork, if we can't figure out a better way.
bip39 = { git = "https://github.com/rust-bitcoin/rust-bip39/", rev = "bc2376d110f963e8be64f521016b2fdaf9a8dcee" }
secp256k1 = { git = "https://github.com/rust-bitcoin/rust-secp256k1", rev = "2d672e20c7ce37640e86063fe8fa0a62481e8986" }