mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-20 08:11:02 +00:00
fb9bbf306d
* Add initial report_ofence bench. * Remove unused imports * Style nit * Add nominators * Remove logs. * Nits. * Add nominators param. * Reorg, comment. * Remove whitespaces. * Apply review suggestion: move benchmark to own crate. * Remove import. * Remove line. * Add feature flag. * Pass can_report. * Cleaning up. * More cleaning
41 lines
1.4 KiB
TOML
41 lines
1.4 KiB
TOML
[package]
|
|
name = "pallet-offences"
|
|
version = "2.0.0-alpha.5"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
license = "GPL-3.0"
|
|
homepage = "https://substrate.dev"
|
|
repository = "https://github.com/paritytech/substrate/"
|
|
description = "FRAME offences pallet"
|
|
|
|
[dependencies]
|
|
pallet-balances = { version = "2.0.0-alpha.5", default-features = false, path = "../balances" }
|
|
codec = { package = "parity-scale-codec", version = "1.3.0", default-features = false, features = ["derive"] }
|
|
sp-std = { version = "2.0.0-alpha.5", default-features = false, path = "../../primitives/std" }
|
|
serde = { version = "1.0.101", optional = true }
|
|
sp-runtime = { version = "2.0.0-alpha.5", default-features = false, path = "../../primitives/runtime" }
|
|
sp-staking = { version = "2.0.0-alpha.5", default-features = false, path = "../../primitives/staking" }
|
|
frame-support = { version = "2.0.0-alpha.5", default-features = false, path = "../support" }
|
|
frame-system = { version = "2.0.0-alpha.5", default-features = false, path = "../system" }
|
|
|
|
[dev-dependencies]
|
|
sp-io = { version = "2.0.0-alpha.5", path = "../../primitives/io" }
|
|
sp-core = { version = "2.0.0-alpha.5", path = "../../primitives/core" }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"pallet-balances/std",
|
|
"codec/std",
|
|
"sp-std/std",
|
|
"serde",
|
|
"sp-runtime/std",
|
|
"sp-staking/std",
|
|
"frame-support/std",
|
|
"frame-system/std",
|
|
]
|
|
runtime-benchmarks = []
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|