[package] name = "pallet-session" version = "38.0.0" authors.workspace = true edition.workspace = true license = "Apache-2.0" homepage.workspace = true repository.workspace = true description = "FRAME sessions pallet" readme = "README.md" [lints] workspace = true [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] [dependencies] codec = { features = ["derive"], workspace = true } impl-trait-for-tuples = { workspace = true } log = { workspace = true } scale-info = { features = ["derive", "serde"], workspace = true } frame-support.workspace = true frame-system.workspace = true pallet-timestamp.workspace = true sp-core = { features = ["serde"], workspace = true } sp-io.workspace = true sp-runtime = { features = ["serde"], workspace = true } sp-session.workspace = true sp-staking = { features = ["serde"], workspace = true } sp-trie = { optional = true, workspace = true } sp-state-machine.workspace = true [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-state-machine/std", "sp-trie/std", ] try-runtime = [ "frame-support/try-runtime", "frame-system/try-runtime", "pallet-timestamp/try-runtime", "sp-runtime/try-runtime", ]