-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathCargo.toml
More file actions
130 lines (113 loc) · 4.09 KB
/
Copy pathCargo.toml
File metadata and controls
130 lines (113 loc) · 4.09 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
[workspace.package]
version = "0.1.0"
edition = "2021"
description = "A Cardano blockchain node implementation"
license = "Apache-2.0"
authors = ["Amaru Maintainers <amaru@pragma.builders>"]
repository = "https://github.com/pragma-org/amaru"
homepage = "https://github.com/pragma-org/amaru"
documentation = "https://docs.rs/amaru"
rust-version = "1.85" # ⚠️ Also change in .cargo/rust-toolchain.toml
[workspace]
members = ["crates/*", "simulation/*"]
default-members = ["crates/*"]
resolver = "2"
[workspace.dependencies]
anyhow = "1.0.95"
async-trait = "0.1.83"
bech32 = "0.11.0"
clap = { version = "4.5.35", features = ["derive", "env"] }
futures-util = "0.3.31"
gasket = { version = "0.8.0", features = ["derive"] }
hex = "0.4.3"
indicatif = "0.17.9"
indoc = "2.0"
minicbor = "0.25.1"
num = { version = "0.4.3", default-features = false, features = ["alloc"] }
opentelemetry = "0.29.1"
opentelemetry-otlp = { version = "0.29.0", features = [ "grpc-tonic", "http-proto", "reqwest-blocking-client" ] }
opentelemetry_sdk = "0.29.0"
pallas-addresses = "0.32.0"
pallas-codec = "0.32.0" # When updating, double check that minicbor doesn't need to be updated too (see https://github.com/txpipe/pallas/blob/v0.32.0/pallas-codec/Cargo.toml#L22)
pallas-crypto = "0.32.0"
pallas-math = "0.32.0"
pallas-network = "0.32.0"
pallas-primitives = "0.32.0"
pallas-traverse = "0.32.0"
rayon = "1.10"
rocksdb = { version = "0.23.0", default-features = false, features = [
"bindgen-runtime",
"snappy",
] }
serde = { version = "1.0", default-features = false }
serde_json = { version = "1.0.128", default-features = false }
sha3 = "0.10.8"
sysinfo = "0.34.2"
thiserror = "2.0.12"
tokio = { version = "1.40.0", features = ["sync"] }
tokio-util = "0.7.12"
tokio-stream = "0.1.17"
tracing = "0.1.40"
tracing-opentelemetry = "0.30.0"
tracing-subscriber = { version = "0.3.18", features = ["env-filter", "std", "json"] }
amaru-consensus = { path = "crates/amaru-consensus" }
amaru-kernel = { path = "crates/amaru-kernel" }
amaru-ledger = { path = "crates/amaru-ledger" }
amaru-mempool = { path = "crates/amaru-mempool" }
amaru-ouroboros = { path = "crates/ouroboros" }
amaru-ouroboros-traits = { path = "crates/ouroboros-traits" }
amaru-stores = { path = "crates/amaru-stores" }
iter-borrow = { path = "crates/iter-borrow" }
slot-arithmetic = { path = "crates/slot-arithmetic" }
pure-stage = { path = "crates/pure-stage" }
# The vrf crate has not been fully tested in production environments and still has several upstream issues that are open PRs but not merged yet.
vrf_dalek = { git = "https://github.com/txpipe/vrf", rev = "044b45a1a919ba9d9c2471fc5c4d441f13086676" }
kes-summed-ed25519 = { git = "https://github.com/txpipe/kes", rev = "f69fb357d46f6a18925543d785850059569d7e78" }
# dev-dependencies
ctor = "0.4.1"
tempfile = "3.15.0"
rand = "0.9.0"
proptest = { version = "1.5.0", default-features = false, features = ["alloc"] }
insta = "1.41.1"
envpath = "0.0.1-beta.3"
criterion = "0.5.1"
test-case = "3.3.1"
# build-dependencies
built = "0.7.1"
[workspace.lints.rust]
rust-2018-idioms = "warn"
rust-2018-compatibility = "warn"
rust-2021-compatibility = "warn"
#rust-2024-compatibility = "warn"
nonstandard-style = { level = "deny" }
future-incompatible = { level = "deny" }
[workspace.lints.clippy]
# Enable clippy lints for all members
# * https://doc.rust-lang.org/clippy/lints.htwml
# Group lints
# pedantic = "warn"
# restriction = "warn"
# nursery = "warn"
# cargo = "warn"
# others are enabled by default, see table here: https://doc.rust-lang.org/clippy/
# Individual lints
# All lints are detailed here: https://rust-lang.github.io/rust-clippy/master/index.html
# allow-unwrap-in-tests = true
# unreachable = "warn"
expect_used = "warn"
panic = "warn"
todo = "warn"
unwrap_used = "warn"
wildcard_enum_match_arm = "warn"
# See https://doc.rust-lang.org/cargo/reference/profiles.html
[profile.dev]
opt-level = 2
debug = false
[profile.dev-debug]
# Restore default 'dev' profile (see https://doc.rust-lang.org/cargo/reference/profiles.html#dev)
inherits = "dev"
opt-level = 0
debug = true
[profile.release]
lto = true
codegen-units = 1