mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 12:48:00 +00:00
d870eb23e1
* Remove sp-runtime dependency from sp-phragmen * Use regular derive(Debug) instead of RuntimeDebug
36 lines
1.1 KiB
TOML
36 lines
1.1 KiB
TOML
[package]
|
|
name = "sp-phragmen"
|
|
version = "2.0.0-dev"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
license = "GPL-3.0"
|
|
homepage = "https://substrate.dev"
|
|
repository = "https://github.com/paritytech/substrate/"
|
|
description = "Phragmen primitives"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false, features = ["derive"] }
|
|
serde = { version = "1.0.101", optional = true, features = ["derive"] }
|
|
sp-std = { version = "2.0.0-dev", default-features = false, path = "../std" }
|
|
sp-phragmen-compact = { version = "2.0.0-dev", path = "./compact" }
|
|
sp-arithmetic = { version = "2.0.0-dev", default-features = false, path = "../arithmetic" }
|
|
|
|
[dev-dependencies]
|
|
substrate-test-utils = { version = "2.0.0-dev", path = "../../test-utils" }
|
|
rand = "0.7.3"
|
|
sp-phragmen = { version = "2.0.0-dev", path = "." }
|
|
sp-runtime = { version = "2.0.0-dev", path = "../../primitives/runtime" }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
bench = []
|
|
std = [
|
|
"codec/std",
|
|
"serde",
|
|
"sp-std/std",
|
|
"sp-arithmetic/std",
|
|
]
|