mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 18:07:58 +00:00
dc7161276d
* frame: support for serde added - enabled `serde` features in dependent crates, no gate feature introduced, linker should do the job and strip unused code. - frame::staking: added impl of `serde::Serialize, serde::Deserialize` for `enum Forcing` - primitives::runtime: impl_opaque_keys macro provides `Serialize/Deserialize` impl if `serde` is enabled - primitives::staking: added impl of `serde::Serialize`, `serde::Deserialize` for `enum StakerStatus` * frame::support: serde for pallets' GenesisConfig enabled in no-std * Cargo.lock updated * Update primitives/staking/Cargo.toml Co-authored-by: Bastian Köcher <git@kchr.de> * fix * Cargo.lock update + missed serde/std in beefy --------- Co-authored-by: Bastian Köcher <git@kchr.de>
34 lines
1.2 KiB
TOML
34 lines
1.2 KiB
TOML
[package]
|
|
name = "sp-staking"
|
|
version = "4.0.0-dev"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2021"
|
|
license = "Apache-2.0"
|
|
homepage = "https://substrate.io"
|
|
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."
|
|
readme = "README.md"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
serde = { version = "1.0.163", default-features = false, features = ["derive", "alloc"], optional = true }
|
|
codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false, features = ["derive"] }
|
|
scale-info = { version = "2.5.0", default-features = false, features = ["derive"] }
|
|
sp-core = { version = "21.0.0", default-features = false, path = "../core" }
|
|
sp-runtime = { version = "24.0.0", default-features = false, path = "../runtime" }
|
|
sp-std = { version = "8.0.0", default-features = false, path = "../std" }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"serde/std",
|
|
"codec/std",
|
|
"scale-info/std",
|
|
"sp-core/std",
|
|
"sp-runtime/std",
|
|
"sp-std/std",
|
|
]
|
|
runtime-benchmarks = []
|