-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCargo.toml
More file actions
176 lines (160 loc) · 5.02 KB
/
Cargo.toml
File metadata and controls
176 lines (160 loc) · 5.02 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
168
169
170
171
172
173
174
175
176
[workspace]
default-members = [
"crates/dugite-primitives",
"crates/dugite-crypto",
"crates/dugite-serialization",
"crates/dugite-network",
"crates/dugite-consensus",
"crates/dugite-ledger",
"crates/dugite-mempool",
"crates/dugite-storage",
"crates/dugite-node",
"crates/dugite-cli",
"crates/dugite-lsm",
"crates/dugite-integration-tests",
"crates/dugite-monitor",
"crates/dugite-config",
"crates/dugite-uplc",
"tests/conformance",
"tests/golden",
]
members = [
"xtask",
"crates/dugite-primitives",
"crates/dugite-crypto",
"crates/dugite-serialization",
"crates/dugite-network",
"crates/dugite-consensus",
"crates/dugite-ledger",
"crates/dugite-mempool",
"crates/dugite-storage",
"crates/dugite-node",
"crates/dugite-cli",
"crates/dugite-lsm",
"crates/dugite-integration-tests",
"crates/dugite-monitor",
"crates/dugite-config",
"crates/dugite-uplc",
"tests/conformance",
"tests/golden",
]
resolver = "2"
[workspace.package]
version = "1.7.0"
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/michaeljfazio/dugite"
description = "Dugite - A Rust implementation of the Cardano node"
[workspace.dependencies]
# Workspace crates
dugite-primitives = { path = "crates/dugite-primitives" }
dugite-crypto = { path = "crates/dugite-crypto" }
dugite-serialization = { path = "crates/dugite-serialization" }
dugite-network = { path = "crates/dugite-network" }
dugite-consensus = { path = "crates/dugite-consensus" }
dugite-ledger = { path = "crates/dugite-ledger" }
dugite-mempool = { path = "crates/dugite-mempool" }
dugite-storage = { path = "crates/dugite-storage" }
dugite-node = { path = "crates/dugite-node" }
dugite-cli = { path = "crates/dugite-cli" }
dugite-lsm = { path = "crates/dugite-lsm" }
dugite-monitor = { path = "crates/dugite-monitor" }
dugite-uplc = { path = "crates/dugite-uplc" }
# Terminal UI
ratatui = "0.30"
crossterm = "0.29"
# Serialization
serde = { version = "1", features = ["derive", "rc"] }
serde_json = "1"
minicbor = { version = "0.26", features = ["std", "derive"] }
hex = "0.4"
base64 = "0.22"
# Cryptography
ed25519-dalek = { version = "2", features = ["serde", "rand_core"] }
blake2 = "0.10"
blake2b_simd = "1"
sha2 = "0.11"
sha3 = "0.10"
rand = "0.9"
rand_chacha = "0.9"
# Async runtime
tokio = { version = "1", features = ["full"] }
tokio-util = { version = "0.7", features = ["codec", "io"] }
futures = "0.3"
async-trait = "0.1"
# Networking
tokio-tungstenite = "0.24"
kes-summed-ed25519 = "0.2.1"
vrf_dalek = { git = "https://github.com/input-output-hk/vrf", rev = "03ac038e9b92c754ebbcb71824866d93f25e27f3" }
curve25519-dalek-fork = { package = "curve25519-dalek", git = "https://github.com/iquerejeta/curve25519-dalek", branch = "ietf03_vrf_compat_ell2" }
# Storage
tempfile = "3"
criterion = { version = "0.8", features = ["html_reports"] }
# Logging & diagnostics
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
tracing-appender = "0.2"
tracing-journald = "0.3"
# CLI
clap = { version = "4", features = ["derive"] }
toml = "1.1"
# Error handling
thiserror = "2"
anyhow = "1"
# Misc
bytes = "1"
byteorder = "1"
derive_more = { version = "2", features = ["display", "from"] }
dashmap = "6"
parking_lot = "0.12"
num-bigint = { version = "0.4", features = ["serde"] }
num-rational = "0.4"
num-traits = "0.2"
dashu-int = "0.4.1"
dashu-base = "0.4.1"
chrono = { version = "0.4", features = ["serde"] }
bech32 = "0.11"
base16ct = { version = "0.2", features = ["alloc"] }
bs58 = "0.5"
bincode = "1"
crc32fast = "1"
reqwest = { version = "0.12", features = ["rustls-tls", "stream", "json"], default-features = false }
libc = "0.2"
hickory-resolver = "0.25"
socket2 = "0.6"
zstd = "0.13"
tar = "0.4"
indicatif = "0.18"
futures-util = "0.3"
memmap2 = "0.9"
fs2 = "0.4"
rayon = "1"
proptest = "1"
mithril-client = { version = "0.14", default-features = false, features = ["num-integer-backend", "rustls-tls-webpki-roots", "fs"] }
## [patch.crates-io]
## Removed: cardano-lsm now used from crates.io (for UTxO store in dugite-ledger)
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
strip = true
# panic = "unwind" (the default) is REQUIRED so we can catch panics from
# third-party untrusted-input parsers (notably uplc, which panics on malformed
# Plutus scripts that an adversary can deliver via the witness set of a
# gossiped transaction). See the catch_unwind guard around
# eval_phase_two_raw in dugite-ledger/src/plutus.rs.
# Do NOT change to "abort" without a corresponding upstream fix.
panic = "unwind"
[profile.dev]
opt-level = 0
debug = true
# Profiling-friendly release: same codegen as release, but keeps debug info
# so `sample`/Instruments/flamegraphs attribute hot stacks back to Rust
# functions. Build with `cargo build --profile release-prof -p dugite-node`.
# Output goes to target/release-prof/ so the regular release artifact stays
# untouched.
[profile.release-prof]
inherits = "release"
debug = "line-tables-only"
strip = "none"
split-debuginfo = "packed"