-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathCargo.toml
59 lines (52 loc) · 1.43 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
[package]
authors.workspace = true
documentation.workspace = true
edition.workspace = true
homepage.workspace = true
license-file.workspace = true
readme.workspace = true
repository.workspace = true
version.workspace = true
name = "pallet-validator"
description = "validator registration pallet"
[package.metadata.docs.rs]
targets = ['x86_64-unknown-linux-gnu']
[dependencies]
parity-scale-codec = {workspace = true, features = ["derive"]}
scale-info = { workspace = true, features = ["derive"] }
sp-std.workspace = true
sp-runtime.workspace = true
frame-support.workspace = true
frame-system.workspace = true
pallet-membership.workspace = true
pallet-collective = { workspace = true, default-features = false }
pallet-session.workspace = true
sp-io.workspace = true
substrate-validator-set = { workspace = true, default-features = false }
# Benchmarking
frame-benchmarking = { workspace = true, optional = true }
[dev-dependencies]
sp-core.workspace = true
[features]
default = ['std']
std = [
'parity-scale-codec/std',
'sp-std/std',
'sp-runtime/std',
'frame-support/std',
'frame-system/std',
'frame-benchmarking/std',
'substrate-validator-set/std',
'pallet-membership/std',
'pallet-collective/std',
'pallet-session/std',
'sp-io/std',
'scale-info/std'
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"pallet-collective/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
]