Cargo.toml 6.92 KB
Newer Older
1
[package]
2
name = "polkadot-service"
3
4
5
6
7
version = "0.8.3"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"

[dependencies]
8
# Substrate Client
9
sc-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master" }
10
11
12
13
babe = { package = "sc-consensus-babe", git = "https://github.com/paritytech/substrate", branch = "master" }
grandpa = { package = "sc-finality-grandpa", git = "https://github.com/paritytech/substrate", branch = "master" }
sc-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "master" }
14
15
sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-client-db = { git = "https://github.com/paritytech/substrate", branch = "master" }
16
sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" }
17
sc-consensus-slots = { git = "https://github.com/paritytech/substrate", branch = "master" }
18
sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" }
19
sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" }
20
21
22
23
24
sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" }
service = { package = "sc-service", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
telemetry = { package = "sc-telemetry", git = "https://github.com/paritytech/substrate", branch = "master" }

# Substrate Primitives
25
sp-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master" }
26
babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", branch = "master" }
27
28
29
consensus_common = { package = "sp-consensus", git = "https://github.com/paritytech/substrate", branch = "master" }
grandpa_primitives = { package = "sp-finality-grandpa", git = "https://github.com/paritytech/substrate", branch = "master" }
inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", branch = "master" }
30
31
32
33
34
sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" }
35
sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" }
36
37
38
39
sp-offchain = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", branch = "master" }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-session = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-storage = { git = "https://github.com/paritytech/substrate", branch = "master" }
40
sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" }
41
sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" }
42
sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "master" }
43
44

# Substrate Pallets
45
pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "master" }
46
pallet-im-online = { git = "https://github.com/paritytech/substrate", branch = "master" }
47
pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master" }
48
pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
49
50
51

# Substrate Other
frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master" }
52
frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
53
prometheus-endpoint = { package = "substrate-prometheus-endpoint", git = "https://github.com/paritytech/substrate", branch = "master" }
54
55

# External Crates
56
57
futures = "0.3.8"
hex-literal = "0.3.1"
58
tracing = "0.1.22"
59
tracing-futures = "0.2.4"
60
serde = { version = "1.0.118", features = ["derive"] }
61
thiserror = "1.0.21"
62
63
64
65
66
67
68
69

# Polkadot
polkadot-node-core-proposer = { path = "../core/proposer" }
polkadot-overseer = { path = "../overseer" }
polkadot-parachain = { path = "../../parachain" }
polkadot-primitives = { path = "../../primitives" }
polkadot-rpc = { path = "../../rpc" }
polkadot-subsystem = { package = "polkadot-node-subsystem", path = "../subsystem" }
70
polkadot-node-subsystem-util = { path = "../subsystem-util" }
71
polkadot-runtime-parachains = { path = "../../runtime/parachains" }
72
73
74
75

# Polkadot Runtimes
polkadot-runtime = { path = "../../runtime/polkadot" }
kusama-runtime = { path = "../../runtime/kusama" }
76
westend-runtime = { path = "../../runtime/westend" }
77
rococo-runtime = { path = "../../runtime/rococo" }
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94

# Polkadot Subsystems
polkadot-availability-bitfield-distribution = { path = "../network/bitfield-distribution", optional = true }
polkadot-availability-distribution = { path = "../network/availability-distribution", optional = true }
polkadot-collator-protocol = { path = "../network/collator-protocol", optional = true }
polkadot-network-bridge = { path = "../network/bridge", optional = true }
polkadot-node-collation-generation = { path = "../collation-generation", optional = true }
polkadot-node-core-av-store = { path = "../core/av-store", optional = true }
polkadot-node-core-backing = { path = "../core/backing", optional = true }
polkadot-node-core-bitfield-signing = { path = "../core/bitfield-signing", optional = true }
polkadot-node-core-candidate-selection = { path = "../core/candidate-selection", optional = true }
polkadot-node-core-candidate-validation = { path = "../core/candidate-validation", optional = true }
polkadot-node-core-chain-api = { path = "../core/chain-api", optional = true }
polkadot-node-core-provisioner = { path = "../core/provisioner", optional = true }
polkadot-node-core-runtime-api = { path = "../core/runtime-api", optional = true }
polkadot-pov-distribution = { path = "../network/pov-distribution", optional = true }
polkadot-statement-distribution = { path = "../network/statement-distribution", optional = true }
95
96

[dev-dependencies]
97
polkadot-test-client = { path = "../test/client" }
98
env_logger = "0.8.2"
99
100
101
102

[features]
default = ["db", "full-node"]
db = ["service/db"]
103
full-node = [
104
105
106
107
	"polkadot-node-core-av-store",
]
runtime-benchmarks = ["polkadot-runtime/runtime-benchmarks", "kusama-runtime/runtime-benchmarks", "westend-runtime/runtime-benchmarks"]
real-overseer = [
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
	"polkadot-availability-bitfield-distribution",
	"polkadot-availability-distribution",
	"polkadot-collator-protocol",
	"polkadot-network-bridge",
	"polkadot-node-collation-generation",
	"polkadot-node-core-backing",
	"polkadot-node-core-bitfield-signing",
	"polkadot-node-core-candidate-selection",
	"polkadot-node-core-candidate-validation",
	"polkadot-node-core-chain-api",
	"polkadot-node-core-provisioner",
	"polkadot-node-core-runtime-api",
	"polkadot-pov-distribution",
	"polkadot-statement-distribution",
]