-
Notifications
You must be signed in to change notification settings - Fork 39
/
Cargo.toml
74 lines (65 loc) · 1.54 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
[package]
name = "axon"
version = "0.3.1-beta"
authors = ["Nervos Dev <[email protected]>"]
edition = "2021"
repository = "https://github.com/axonweb3/axon"
build = "build.rs"
[dependencies]
clap = { version = "4.4", features = ["cargo"] }
# byzantine = { path = "./byzantine" }
common-version = { path = "./common/version" }
core-api = { path = "./core/api" }
core-cli = { path = "./core/cli" }
core-consensus = { path = "./core/consensus" }
core-executor = { path = "./core/executor" }
core-run = { path = "./core/run" }
protocol = { path = "./protocol", package = "axon-protocol" }
[workspace]
members = [
"common/apm",
"common/apm-derive",
"common/config-parser",
"common/crypto",
"common/hasher",
"common/logger",
"common/memory-tracker",
"common/merkle",
"common/version",
"core/api",
"core/cli",
"core/consensus",
"core/db",
"core/executor",
"core/mempool",
"core/network",
"core/rpc-client",
"core/run",
"core/storage",
"devtools/abi-generator",
"devtools/axon-tools",
"devtools/metadata-cli",
"protocol",
]
[features]
default = []
jemalloc = ["core-run/jemalloc"]
pprof = ["core-api/pprof"]
random_leader = ["core-consensus/random_leader"]
# tentacle_metrics = ["core-network/tentacle_metrics"]
[profile.release]
overflow-checks = true
opt-level = 3
[profile.release-jemalloc]
inherits = "release"
debug = true
overflow-checks = true
opt-level = 3
[lib]
path = "src/lib.rs"
[[bin]]
name = "axon"
path = "src/main.rs"
[[example]]
name = "custom_chain"
crate-type = ["bin"]