-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathCargo.toml
107 lines (94 loc) · 3.11 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
[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.81.0"
[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 = "4.5.20"
ctor = "0.2"
futures-util = "0.3.31"
gasket = "0.8.0"
hex = "0.4.3"
indicatif = "0.17.9"
indoc = "2.0"
minicbor = "0.25.1"
mockall = "0.13"
num = { version = "0.4.3", default-features = false, features = ["alloc"] }
opentelemetry = "0.27.1"
opentelemetry-otlp = "0.27.0"
opentelemetry_sdk = "0.27.1"
pallas-addresses = "0.32.0"
pallas-codec = "0.32.0"
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"
rand = "0.8"
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 }
sysinfo = "0.33.1"
tempfile = "3.15.0"
thiserror = "2.0.3"
tokio = "1.40.0"
tokio-util = "0.7.12"
tokio-stream = "0.1.17"
tracing = "0.1.40"
tracing-opentelemetry = "0.28.0"
tracing-subscriber = "0.3.18"
amaru-consensus = { path = "crates/amaru-consensus" }
amaru-kernel = { path = "crates/amaru-kernel" }
amaru-ledger = { path = "crates/amaru-ledger" }
amaru-ouroboros = { path = "crates/ouroboros" }
amaru-ouroboros-traits = { path = "crates/ouroboros-traits" }
amaru-stores = { path = "crates/amaru-stores" }
iter-borrow = { path = "crates/iter-borrow" }
# 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
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"