mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 16:17:59 +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>
50 lines
2.0 KiB
TOML
50 lines
2.0 KiB
TOML
[package]
|
|
name = "pallet-session"
|
|
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 = "FRAME sessions pallet"
|
|
readme = "README.md"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false, features = ["derive"] }
|
|
impl-trait-for-tuples = "0.2.2"
|
|
log = { version = "0.4.17", default-features = false }
|
|
scale-info = { version = "2.5.0", default-features = false, features = ["derive", "serde"] }
|
|
frame-support = { version = "4.0.0-dev", default-features = false, path = "../support" }
|
|
frame-system = { version = "4.0.0-dev", default-features = false, path = "../system" }
|
|
pallet-timestamp = { version = "4.0.0-dev", default-features = false, path = "../timestamp" }
|
|
sp-core = { version = "21.0.0", default-features = false, path = "../../primitives/core", features = ["serde"] }
|
|
sp-io = { version = "23.0.0", default-features = false, path = "../../primitives/io" }
|
|
sp-runtime = { version = "24.0.0", default-features = false, path = "../../primitives/runtime", features = ["serde"] }
|
|
sp-session = { version = "4.0.0-dev", default-features = false, path = "../../primitives/session" }
|
|
sp-staking = { version = "4.0.0-dev", default-features = false, path = "../../primitives/staking", features = ["serde"] }
|
|
sp-std = { version = "8.0.0", default-features = false, path = "../../primitives/std" }
|
|
sp-trie = { version = "22.0.0", default-features = false, optional = true, path = "../../primitives/trie" }
|
|
|
|
[features]
|
|
default = ["historical", "std"]
|
|
historical = ["sp-trie"]
|
|
std = [
|
|
"codec/std",
|
|
"frame-support/std",
|
|
"frame-system/std",
|
|
"log/std",
|
|
"pallet-timestamp/std",
|
|
"scale-info/std",
|
|
"sp-core/std",
|
|
"sp-io/std",
|
|
"sp-runtime/std",
|
|
"sp-session/std",
|
|
"sp-staking/std",
|
|
"sp-std/std",
|
|
"sp-trie/std",
|
|
]
|
|
try-runtime = ["frame-support/try-runtime"]
|