-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
130 lines (116 loc) · 3.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
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
[package]
authors = ["Borlaug"]
build = "build.rs"
edition = "2018"
name = "Borlaug"
version = "0.0.1"
[profile.release]
panic = "unwind"
[[bin]]
name = "borlaug"
path = "src/main.rs"
[dependencies]
# third-party dependencies
codec = {package = "parity-scale-codec", version = "2.0.0"}
futures = {version = "0.3.9", features = ["compat"]}
hex = "0.4"
hex-literal = "0.3.1"
jsonrpc-core = "15.1.0"
jsonrpc-core-client = "15.1.0"
jsonrpc-derive = "15.1.0"
log = "0.4.11"
parking_lot = "0.10.0"
serde = {version = "1.0.130", features = ["derive"]}
# primitives
sp-authority-discovery = "3.0.0"
# client dependencies
chrono = {version = "0.4.9", features = ["serde"]}
frame-support = "3.0.0"
sc-authority-discovery = "0.9.0"
sc-basic-authorship = "0.9.0"
sc-chain-spec = "3.0.0"
sc-cli = {version = "0.9.0", features = ["wasmtime"]}
sc-client-api = "3.0.0"
sc-consensus = "0.9.0"
sc-consensus-aura = {version = "0.9.0", optional = true}
sc-consensus-babe = {version = "0.9.0", optional = true}
sc-consensus-babe-rpc = {version = "0.9.0", optional = true}
sc-consensus-epochs = "0.9.0"
sc-consensus-manual-seal = {version = "0.9.0", optional = true}
sc-consensus-slots = "0.9.0"
sc-executor = {version = "0.9.0", features = ["wasmtime"]}
sc-finality-grandpa = "0.9.0"
sc-finality-grandpa-rpc = {version = "0.9.0", optional = true}
sc-keystore = "3.0.0"
sc-network = "0.9.0"
sc-rpc = "3.0.0"
sc-rpc-api = "0.9.0"
sc-service = {version = "0.9.0", features = ["wasmtime"]}
sc-sync-state-rpc = "0.9.0"
sc-telemetry = "3.0.0"
sc-transaction-pool = "3.0.0"
serde_json = "1.0.41"
sp-api = "3.0.0"
sp-block-builder = "3.0.0"
sp-blockchain = "3.0.0"
sp-consensus = "0.9.0"
sp-consensus-aura = {version = "0.9.0", optional = true}
sp-consensus-babe = {version = "0.9.0", optional = true}
sp-core = "3.0.0"
sp-finality-grandpa = {version = "3.0.0", optional = true}
sp-inherents = "3.0.0"
sp-keystore = "0.9.0"
sp-runtime = "3.0.0"
sp-timestamp = {version = "3.0.0", optional = true}
sp-transaction-pool = "3.0.0"
structopt = "0.3.17"
substrate-frame-rpc-system = "3.0.0"
# frame dependencies
pallet-im-online = {version = "3.0.0", default-features = false}
# These dependencies are used for runtime benchmarking
frame-benchmarking = {default-features = false, version = "3.1.0"}
frame-benchmarking-cli = {version = "3.0.0"}
runtime = {package = "borlaug-runtime", path = "runtime", optional = true}
asset-registry-runtime-api = {path = "pallets/asset-registry-runtime-api"}
audits-runtime-api = {path = "pallets/audits-runtime-api"}
groups-runtime-api = {path = "pallets/groups-runtime-api"}
identity-runtime-api = {path = "pallets/identity-runtime-api"}
provenance-runtime-api = {path = "pallets/provenance-runtime-api"}
settings-runtime-api = {path = "pallets/settings-runtime-api"}
pallet-primitives = {path = "pallets/primitives", default-features = false}
pallet-transaction-payment-rpc = {version = "3.0.0", path = "pallets/transaction-payment/rpc"}
[build-dependencies]
frame-benchmarking-cli = {version = "3.0.0", optional = true}
pallet-transaction-payment = {version = "3.0.0", path = "pallets/transaction-payment"}
substrate-build-script-utils = "3.0.0"
vergen = "3.0.4"
[workspace]
members = ["runtime", "pallets/*"]
[features]
default = []
# use grandpa / babe consensus (chain must not be stopped)
grandpa_babe = [
"sp-consensus-babe",
"sp-finality-grandpa",
"sc-consensus-babe-rpc",
"sc-consensus-babe",
"sc-finality-grandpa-rpc",
"runtime/grandpa_babe",
]
# use grandpa / aura consensus
grandpa_aura = [
"sp-consensus-aura",
"sp-finality-grandpa",
"sc-consensus-aura",
"sc-finality-grandpa-rpc",
"runtime/grandpa_aura",
]
# use instant seal consensus - useful for development, but not to be used in production
instant_seal = [
"sc-consensus-manual-seal",
"sp-timestamp",
"runtime/instant_seal",
]
runtime-benchmarks = [
"runtime/runtime-benchmarks",
]