mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 20:57:59 +00:00
f830db9642
* Move phragmen to primitives * Improved docs * New crate. * Update lock. * Fix dependency. * Fix build. * Add basic testing and truth-value implementation with float types * Update srml/staking/src/lib.rs * Nits. * Bump. * Fix benchmarks.
47 lines
1.7 KiB
TOML
47 lines
1.7 KiB
TOML
[package]
|
|
name = "srml-staking"
|
|
version = "2.0.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
serde = { version = "1.0", optional = true }
|
|
safe-mix = { version = "1.0", default-features = false}
|
|
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false, features = ["derive"] }
|
|
substrate-keyring = { path = "../../core/keyring", optional = true }
|
|
rstd = { package = "sr-std", path = "../../core/sr-std", default-features = false }
|
|
phragmen = { package = "substrate-phragmen", path = "../../core/phragmen", default-features = false }
|
|
runtime_io = { package = "sr-io", path = "../../core/sr-io", default-features = false }
|
|
sr-primitives = { path = "../../core/sr-primitives", default-features = false }
|
|
sr-staking-primitives = { path = "../../core/sr-staking-primitives", default-features = false }
|
|
srml-support = { path = "../support", default-features = false }
|
|
system = { package = "srml-system", path = "../system", default-features = false }
|
|
session = { package = "srml-session", path = "../session", default-features = false, features = ["historical"] }
|
|
authorship = { package = "srml-authorship", path = "../authorship", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
primitives = { package = "substrate-primitives", path = "../../core/primitives" }
|
|
balances = { package = "srml-balances", path = "../balances" }
|
|
timestamp = { package = "srml-timestamp", path = "../timestamp" }
|
|
rand = "0.6.5"
|
|
|
|
[features]
|
|
equalize = []
|
|
bench = []
|
|
default = ["std", "equalize"]
|
|
std = [
|
|
"serde",
|
|
"safe-mix/std",
|
|
"substrate-keyring",
|
|
"codec/std",
|
|
"rstd/std",
|
|
"phragmen/std",
|
|
"runtime_io/std",
|
|
"srml-support/std",
|
|
"sr-primitives/std",
|
|
"sr-staking-primitives/std",
|
|
"session/std",
|
|
"system/std",
|
|
"authorship/std",
|
|
]
|