|
@@ -14,9 +14,13 @@ sp-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'ht
|
|
|
sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = 'a200cdb93c6af5763b9c7bf313fa708764ac88ca'}
|
|
|
common = { package = 'pallet-common', default-features = false, path = '../common'}
|
|
|
balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = 'a200cdb93c6af5763b9c7bf313fa708764ac88ca'}
|
|
|
-frame-benchmarking = { package = 'frame-benchmarking', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = 'a200cdb93c6af5763b9c7bf313fa708764ac88ca', optional = true}
|
|
|
staking-handler = { package = 'staking-handler', default-features = false, path = '../staking-handler'}
|
|
|
|
|
|
+# Benchmarking
|
|
|
+frame-benchmarking = { package = 'frame-benchmarking', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = 'a200cdb93c6af5763b9c7bf313fa708764ac88ca', optional = true}
|
|
|
+membership = { package = 'pallet-membership', default-features = false, path = '../membership', optional = true}
|
|
|
+
|
|
|
+
|
|
|
[dev-dependencies]
|
|
|
sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = 'a200cdb93c6af5763b9c7bf313fa708764ac88ca'}
|
|
|
sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = 'a200cdb93c6af5763b9c7bf313fa708764ac88ca'}
|
|
@@ -24,7 +28,10 @@ pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git
|
|
|
|
|
|
[features]
|
|
|
default = ['std']
|
|
|
-runtime-benchmarks = ["frame-benchmarking"]
|
|
|
+runtime-benchmarks = [
|
|
|
+ "frame-benchmarking",
|
|
|
+ "membership"
|
|
|
+]
|
|
|
std = [
|
|
|
'serde',
|
|
|
'codec/std',
|