This repository has been archived by the owner on Sep 13, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 43
/
Cargo.toml
112 lines (97 loc) · 2.6 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
108
109
110
111
112
[package]
name = "muta"
version = "0.2.1"
authors = ["Muta Dev <[email protected]>"]
edition = "2018"
repository = "https://github.com/nervosnetwork/muta"
[dependencies]
cli = { path = "./core/cli"}
byzantine = { path = "./byzantine" }
common-apm = { path = "./common/apm" }
common-config-parser = { path = "./common/config-parser" }
common-crypto = { path = "./common/crypto" }
common-logger = { path = "./common/logger" }
protocol = { path = "./protocol", package = "muta-protocol" }
core-api = { path = "./core/api" }
core-storage = { path = "./core/storage" }
core-mempool = { path = "./core/mempool" }
core-network = { path = "./core/network" }
core-consensus = { path = "./core/consensus" }
binding-macro = { path = "./binding-macro" }
framework = { path = "./framework" }
backtrace = "0.3"
actix-rt = "1.0"
derive_more = "0.99"
futures = "0.3"
parking_lot = "0.11"
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
log = "0.4"
clap = "2.33"
bytes = "0.5"
hex = "0.4"
rlp = "0.4"
toml = "0.5"
tokio = { version = "0.2", features = ["macros", "sync", "rt-core", "rt-util", "signal", "time"] }
muta-apm = "0.1.0-alpha.7"
futures-timer="3.0"
cita_trie = "2.0"
fs_extra = "1.2.0"
[dev-dependencies]
cita_trie = "2.0"
async-trait = "0.1"
toml = "0.5"
lazy_static = "1.4"
muta-codec-derive = "0.2"
asset = { path = "built-in-services/asset" }
multi-signature = { path = "built-in-services/multi-signature" }
authorization = { path = "built-in-services/authorization" }
metadata = { path = "built-in-services/metadata"}
util = { path = "built-in-services/util"}
rand = "0.7"
core-network = { path = "./core/network", features = ["diagnostic"] }
tokio = { version = "0.2", features = ["full"] }
[workspace]
members = [
"devtools/keypair",
"common/channel",
"common/config-parser",
"common/crypto",
"common/logger",
"common/merkle",
"common/pubsub",
"core/api",
"core/consensus",
"core/mempool",
"core/network",
"core/storage",
"core/cli",
"core/run",
"binding-macro",
"framework",
"built-in-services/asset",
"built-in-services/metadata",
"built-in-services/multi-signature",
"built-in-services/authorization",
"protocol",
"byzantine",
]
[features]
default = []
random_leader = ["core-consensus/random_leader"]
tentacle_metrics = ["core-network/tentacle_metrics"]
[[example]]
name = "muta-chain"
crate-type = ["bin"]
[[test]]
name = "trust_metric"
path = "tests/trust_metric.rs"
required-features = [ "core-network/diagnostic" ]
[[test]]
name = "verify_chain_id"
path = "tests/verify_chain_id.rs"
required-features = [ "core-network/diagnostic" ]
[[bench]]
name = "bench_execute"
path = "benchmark/mod.rs"