forked from MystenLabs/sui
/
Cargo.toml
70 lines (61 loc) · 1.93 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
[package]
name = "narwhal-node"
version = "0.1.0"
license = "Apache-2.0"
authors = ["Mysten Labs <build@mystenlabs.com>"]
edition = "2021"
publish = false
[dependencies]
arc-swap.workspace = true
async-trait.workspace = true
bytes.workspace = true
cfg-if.workspace = true
# clap.workspace = true
clap = { version = "4", features = ["derive"] }
futures.workspace = true
rand.workspace = true
thiserror.workspace = true
tokio = { workspace = true, features = ["full"] }
tokio-stream.workspace = true
tracing.workspace = true
tracing-subscriber.workspace = true
url.workspace = true
axum.workspace = true
config = { path = "../config", package = "narwhal-config" }
fastcrypto.workspace = true
crypto = { path = "../crypto", package = "narwhal-crypto" }
executor = { path = "../executor", package = "narwhal-executor" }
network = { path = "../network", package = "narwhal-network" }
primary = { path = "../primary", package = "narwhal-primary" }
prometheus.workspace = true
storage = { path = "../storage", package = "narwhal-storage" }
types = { path = "../types", package = "narwhal-types" }
worker = { path = "../worker", package = "narwhal-worker" }
eyre.workspace = true
sui-keys.workspace = true
sui-types.workspace = true
sui-protocol-config.workspace = true
mysten-metrics.workspace = true
mysten-network.workspace = true
telemetry-subscribers.workspace = true
anemo.workspace = true
reqwest.workspace = true
[dev-dependencies]
pretty_assertions.workspace = true
serde-reflection.workspace = true
serde_yaml.workspace = true
test-utils = { path = "../test-utils", package = "narwhal-test-utils" }
[features]
benchmark = ["worker/benchmark", "primary/benchmark"]
trace_transaction = ["worker/trace_transaction"]
[[bin]]
name = "narwhal-node"
path = "src/main.rs"
[[bin]]
name = "narwhal-benchmark-client"
path = "src/benchmark_client.rs"
required-features = ["benchmark"]
[[example]]
name = "narwhal-generate-format"
path = "src/generate_format.rs"
test = false