-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
105 lines (87 loc) · 2.23 KB
/
Cargo.toml
File metadata and controls
105 lines (87 loc) · 2.23 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
[package]
name = "arturo"
version = "0.1.0"
edition = "2021"
rust-version = "1.85"
authors = ["Andreas Bigger <andreas@nascent.xyz>"]
license = "MIT"
description = "Minimal sequencer consensus using commonware ordered_broadcast"
homepage = "https://github.com/refcell/arturo"
repository = "https://github.com/refcell/arturo"
keywords = ["consensus", "sequencer", "ordered-broadcast"]
categories = ["network-programming", "cryptography"]
[[bin]]
name = "conductor"
path = "bin/main.rs"
required-features = ["bin"]
[[bin]]
name = "demo"
path = "demo/src/main.rs"
required-features = ["demo"]
[features]
default = []
bin = []
demo = ["ratatui", "crossterm"]
[dependencies]
# Commonware crates
commonware-consensus = "0.0.65"
commonware-cryptography = "0.0.65"
commonware-utils = "0.0.65"
# Async runtime
futures = "0.3"
futures-channel = "0.3"
tokio = { version = "1", features = ["sync", "rt", "macros", "full", "signal"] }
# Error handling
thiserror = "2"
# Tracing
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Binary dependencies
axum = "0.8"
clap = { version = "4", features = ["derive", "env"] }
reqwest = { version = "0.12", features = ["json"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "0.8"
# OP Stack types
op-alloy-rpc-types-engine = "0.23"
alloy-primitives = "1"
alloy-rpc-types-engine = "1"
# Encoding
hex = "0.4"
# TUI dependencies (demo feature)
ratatui = { version = "0.29", optional = true }
crossterm = { version = "0.28", optional = true, features = ["event-stream"] }
[dev-dependencies]
rand = "0.8"
rstest = "0.24"
tokio = { version = "1", features = ["full"] }
[lints.rust]
missing-debug-implementations = "warn"
missing_docs = "warn"
rust-2018-idioms = "deny"
unreachable-pub = "warn"
unnameable-types = "warn"
unused-must-use = "deny"
[lints.rustdoc]
all = "warn"
[lints.clippy]
all = { level = "warn", priority = -1 }
missing-const-for-fn = "warn"
option-if-let-else = "warn"
redundant-clone = "warn"
use-self = "warn"
[profile.dev]
debug = "line-tables-only"
incremental = false
split-debuginfo = "packed"
[profile.release]
codegen-units = 16
lto = "thin"
opt-level = 3
panic = "unwind"
strip = "symbols"
[profile.maxperf]
inherits = "release"
codegen-units = 1
lto = "fat"