[package]
name = "sp-inherents"
version = "34.0.0"
authors.workspace = true
edition.workspace = true
license = "Apache-2.0"
homepage = "https://substrate.io"
repository.workspace = true
description = "Provides types and traits for creating and checking inherents. (polkadot v1.15.0)"
documentation = "https://docs.rs/sp-inherents"
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
async-trait = { optional = true, workspace = true }
codec = { features = ["derive"], workspace = true }
scale-info = { features = ["derive"], workspace = true }
impl-trait-for-tuples = { workspace = true }
thiserror = { optional = true, workspace = true }
sp-runtime = { optional = true, workspace = true }
[dev-dependencies]
futures = { workspace = true }
[features]
default = ["std"]
std = [
"async-trait",
"codec/std",
"scale-info/std",
"sp-runtime/std",
"thiserror",
]