[package]
name = "frame-support"
version = "24.0.0"
authors.workspace = true
edition.workspace = true
license = "Apache-2.0"
homepage = "https://substrate.io"
repository.workspace = true
description = "Support code for the runtime."
readme = "README.md"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
serde = { version = "1.0.188", default-features = false, features = ["alloc", "derive"] }
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive", "max-encoded-len"] }
scale-info = { version = "2.5.0", default-features = false, features = ["derive"] }
frame-metadata = { version = "16.0.0", default-features = false, features = ["current"] }
sp-api = { path = "../../primitives/api", default-features = false, features = ["frame-metadata"], version = "22.0.0" }
sp-std = { path = "../../primitives/std", default-features = false, version = "11.0.0" }
sp-io = { path = "../../primitives/io", default-features = false, version = "26.0.0" }
sp-runtime = { path = "../../primitives/runtime", default-features = false, version = "27.0.0" }
sp-tracing = { path = "../../primitives/tracing", default-features = false, version = "13.0.0" }
sp-core = { path = "../../primitives/core", default-features = false, version = "24.0.0" }
sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false, version = "19.0.0" }
sp-inherents = { path = "../../primitives/inherents", default-features = false, version = "22.0.0" }
sp-staking = { path = "../../primitives/staking", default-features = false, version = "22.0.0" }
sp-weights = { path = "../../primitives/weights", default-features = false, version = "23.0.0" }
sp-debug-derive = { path = "../../primitives/debug-derive", default-features = false, version = "11.0.0" }
sp-metadata-ir = { path = "../../primitives/metadata-ir", default-features = false, version = "0.3.0" }
tt-call = "1.0.8"
macro_magic = "0.4.2"
frame-support-procedural = { path = "procedural", default-features = false, version = "19.0.0" }
paste = "1.0"
sp-state-machine = { path = "../../primitives/state-machine", default-features = false, optional = true, version = "0.31.0" }
bitflags = "1.3"
impl-trait-for-tuples = "0.2.2"
smallvec = "1.11.0"
log = { version = "0.4.17", default-features = false }
sp-core-hashing-proc-macro = { version = "12.0.0", path = "../../primitives/core/hashing/proc-macro" }
k256 = { version = "0.13.1", default-features = false, features = ["ecdsa"] }
environmental = { version = "1.1.4", default-features = false }
sp-genesis-builder = { path = "../../primitives/genesis-builder", default-features = false, version = "0.3.0" }
serde_json = { version = "1.0.107", default-features = false, features = ["alloc"] }
docify = "0.2.4"
static_assertions = "1.1.0"
aquamarine = { version = "0.3.2" }
[dev-dependencies]
assert_matches = "1.3.0"
pretty_assertions = "1.2.1"
frame-system = { path = "../system" }
array-bytes = "6.1"
[features]
default = [ "std" ]
std = [
"codec/std",
"environmental/std",
"frame-metadata/std",
"frame-support-procedural/std",
"k256/std",
"log/std",
"scale-info/std",
"serde/std",
"sp-api/std",
"sp-arithmetic/std",
"sp-core/std",
"sp-debug-derive/std",
"sp-genesis-builder/std",
"sp-inherents/std",
"sp-io/std",
"sp-metadata-ir/std",
"sp-runtime/std",
"sp-staking/std",
"sp-state-machine/std",
"sp-std/std",
"sp-tracing/std",
"sp-weights/std",
]
runtime-benchmarks = [
"sp-runtime/runtime-benchmarks",
"sp-staking/runtime-benchmarks",
]
try-runtime = [
"sp-debug-derive/force-debug",
"sp-runtime/try-runtime",
]
experimental = []
no-metadata-docs = [
"frame-support-procedural/no-metadata-docs",
"sp-api/no-metadata-docs",
]
full-metadata-docs = [ "scale-info/docs" ]
tuples-96 = [ "frame-support-procedural/tuples-96" ]
tuples-128 = [ "frame-support-procedural/tuples-128" ]