-
Notifications
You must be signed in to change notification settings - Fork 799
/
Copy pathCargo.toml
87 lines (77 loc) · 2.83 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
[package]
name = "polkadot-cli"
description = "Polkadot Relay-chain Client Node"
version = "7.0.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
[lints]
workspace = true
[package.metadata.wasm-pack.profile.release]
# `wasm-opt` has some problems on Linux, see
# https://github.com/rustwasm/wasm-pack/issues/781 etc.
wasm-opt = false
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
cfg-if = { workspace = true }
clap = { features = ["derive"], optional = true, workspace = true }
futures = { workspace = true }
log = { workspace = true, default-features = true }
pyroscope = { optional = true, workspace = true }
pyroscope_pprofrs = { optional = true, workspace = true }
thiserror = { workspace = true }
polkadot-service = { optional = true, workspace = true }
frame-benchmarking-cli = { optional = true, workspace = true, default-features = true }
polkadot-node-metrics = { workspace = true, default-features = true }
polkadot-node-primitives = { workspace = true, default-features = true }
sc-cli = { optional = true, workspace = true, default-features = true }
sc-executor = { workspace = true, default-features = true }
sc-service = { optional = true, workspace = true, default-features = true }
sc-storage-monitor = { workspace = true, default-features = true }
sc-sysinfo = { workspace = true, default-features = true }
sc-tracing = { optional = true, workspace = true, default-features = true }
sp-core = { workspace = true, default-features = true }
sp-io = { workspace = true, default-features = true }
sp-keyring = { workspace = true, default-features = true }
sp-maybe-compressed-blob = { workspace = true, default-features = true }
sp-runtime = { workspace = true, default-features = true }
[build-dependencies]
substrate-build-script-utils = { workspace = true, default-features = true }
[features]
default = ["cli", "db", "full-node"]
db = ["polkadot-service/db"]
metadata-hash = ["polkadot-service/metadata-hash"]
service = ["dep:polkadot-service"]
cli = [
"clap",
"frame-benchmarking-cli",
"sc-cli",
"sc-service",
"sc-tracing",
"service",
]
runtime-benchmarks = [
"frame-benchmarking-cli?/runtime-benchmarks",
"polkadot-node-metrics/runtime-benchmarks",
"polkadot-service?/runtime-benchmarks",
"sc-service?/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]
full-node = ["polkadot-service/full-node"]
try-runtime = [
"polkadot-service?/try-runtime",
"sp-runtime/try-runtime",
]
fast-runtime = ["polkadot-service/fast-runtime"]
pyroscope = ["dep:pyroscope", "pyroscope_pprofrs"]
# Configure the native runtimes to use.
westend-native = ["polkadot-service/westend-native"]
rococo-native = ["polkadot-service/rococo-native"]
malus = ["full-node", "polkadot-service/malus"]
runtime-metrics = [
"polkadot-node-metrics/runtime-metrics",
"polkadot-service/runtime-metrics",
]