43 lines
939 B
TOML
43 lines
939 B
TOML
[package]
|
|
name = "sp-session"
|
|
version = "27.0.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license = "Apache-2.0"
|
|
homepage.workspace = true
|
|
repository.workspace = true
|
|
description = "Primitives for sessions"
|
|
readme = "README.md"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
codec = { features = ["derive"], workspace = true }
|
|
scale-info = { features = ["derive"], workspace = true }
|
|
sp-api = { workspace = true }
|
|
sp-core = { workspace = true }
|
|
sp-keystore = { optional = true, workspace = true }
|
|
sp-runtime = { optional = true, workspace = true }
|
|
sp-staking = { workspace = true }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"codec/std",
|
|
"scale-info/std",
|
|
"sp-api/std",
|
|
"sp-core/std",
|
|
"sp-keystore/std",
|
|
"sp-runtime/std",
|
|
"sp-staking/std",
|
|
]
|
|
runtime-benchmarks = [
|
|
"sp-api/runtime-benchmarks",
|
|
"sp-runtime?/runtime-benchmarks",
|
|
"sp-staking/runtime-benchmarks",
|
|
]
|