-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
133 lines (116 loc) · 3.08 KB
/
Cargo.toml
File metadata and controls
133 lines (116 loc) · 3.08 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
[workspace]
members = [
"crates/cardano-crypto",
"crates/cardano-consensus",
"crates/cardano-ledger",
"crates/cardano-network",
"crates/cardano-storage",
"crates/cardano-tracing",
"crates/cardano-api",
"crates/cardano-node",
"crates/cardano-testnet",
]
exclude = [
"crates/cardano-network/fuzz",
]
resolver = "2"
[workspace.package]
version = "10.5.1"
edition = "2021"
rust-version = "1.80"
authors = ["Cardano Rust Team"]
license = "Apache-2.0"
repository = "https://github.com/cardano-rust/cardano-node-rust"
homepage = "https://cardano.org"
description = "Cardano Node implementation in Rust"
keywords = ["cardano", "blockchain", "cryptocurrency", "consensus", "ouroboros"]
categories = ["cryptography", "network-programming", "development-tools"]
[workspace.dependencies]
# Async runtime
tokio = { version = "1.47", features = ["full"] }
tokio-util = "0.7"
tokio-test = "0.4"
futures = "0.3"
async-trait = "0.1"
# Serialization and data formats
serde = { version = "1.0.227", features = ["derive"] }
serde_json = "1.0.145"
minicbor = { version = "2.1.1", features = ["derive", "std"] }
hex = "0.4"
bytes = "1.10"
# Cryptography
ed25519-dalek = { version = "2.2", features = ["rand_core", "serde"] }
blake2 = "0.10"
sha2 = "0.10"
blstrs = "0.7"
ff = "0.13"
group = "0.13"
curve25519-dalek = { version = "4.0", features = ["digest"] }
subtle = "2.5"
zeroize = "1.7"
once_cell = "1.19"
rand = "0.8"
rand_core = { version = "0.6", features = ["getrandom"] }
getrandom = "0.2"
# Database and storage
lmdb = "0.8"
# Networking
socket2 = "0.5"
mio = "0.8"
# Collections and data structures
indexmap = "2.11"
# Numeric operations
num-bigint = "0.4"
num-traits = "0.2"
# Time handling
chrono = "0.4"
# Web framework and HTTP
axum = "0.7"
tower = { version = "0.4", features = ["util"] }
tower-http = { version = "0.5", features = ["cors", "trace"] }
hyper = "1.7"
# Error handling and logging
thiserror = "1.0"
anyhow = "1.0"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
# Testing
proptest = "1.8"
criterion = "0.5"
tempfile = "3.23"
hex-literal = "0.4"
# Development dependencies
clap = { version = "4.5", features = ["derive"] }
config = "0.14"
# TUI and CLI enhancements
ratatui = "0.29"
crossterm = "0.28"
tui-input = "0.10"
# WebSocket
tokio-tungstenite = "0.24"
[workspace.lints.clippy]
# Align lint configuration with cardano-base-rust expectations so dependent crates inheriting
# workspace lints compile successfully.
all = { level = "warn", priority = -1 }
correctness = { level = "deny", priority = -1 }
suspicious = { level = "warn", priority = -1 }
perf = { level = "warn", priority = -1 }
style = { level = "warn", priority = -1 }
must_use_candidate = "warn"
missing_errors_doc = "warn"
missing_panics_doc = "warn"
unwrap_used = "warn"
expect_used = "allow"
panic = "warn"
todo = "warn"
unimplemented = "deny"
module_name_repetitions = "allow"
similar_names = "allow"
needless_borrows_for_generic_args = "allow"
useless_conversion = "allow"
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = "symbols"