Files
pezkuwi-subxt/substrate/primitives/staking/Cargo.toml
T
pscott 408455f8bc Build for only one target for docs.rs (#5427)
* Add docs.rs metadata to all cargo.toml files

* Remove docs.rs metada in substrate's cargo.toml
2020-03-30 09:46:30 +02:00

26 lines
872 B
TOML

[package]
name = "sp-staking"
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 = "A crate which contains primitives that are useful for implementation that uses staking approaches in general. Definitions related to sessions, slashing, etc go here."
[dependencies]
codec = { package = "parity-scale-codec", version = "1.3.0", default-features = false, features = ["derive"] }
sp-runtime = { version = "2.0.0-alpha.5", default-features = false, path = "../runtime" }
sp-std = { version = "2.0.0-alpha.5", default-features = false, path = "../std" }
[features]
default = ["std"]
std = [
"codec/std",
"sp-runtime/std",
"sp-std/std",
]
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]