[package]
name = "pezsp-api"
version = "26.0.0"
authors.workspace = true
edition.workspace = true
license = "Apache-2.0"
homepage.workspace = true
repository.workspace = true
description = "Bizinikiwi runtime api primitives"
readme = "README.md"
documentation.workspace = true
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { workspace = true }
docify = { workspace = true }
hash-db = { optional = true, workspace = true, default-features = true }
log = { workspace = true }
pezsp-api-proc-macro = { workspace = true }
pezsp-core = { workspace = true }
pezsp-externalities = { optional = true, workspace = true }
pezsp-metadata-ir = { optional = true, workspace = true }
pezsp-runtime = { workspace = true }
pezsp-runtime-interface = { workspace = true }
pezsp-state-machine = { optional = true, workspace = true }
pezsp-trie = { optional = true, workspace = true }
pezsp-version = { workspace = true }
scale-info = { features = ["derive"], workspace = true }
thiserror = { optional = true, workspace = true }
[features]
default = ["std"]
std = [
"codec/std",
"hash-db",
"log/std",
"pezsp-api-proc-macro/std",
"pezsp-core/std",
"pezsp-externalities",
"pezsp-externalities?/std",
"pezsp-metadata-ir?/std",
"pezsp-runtime-interface/std",
"pezsp-runtime/std",
"pezsp-state-machine/std",
"pezsp-trie/std",
"pezsp-version/std",
"scale-info/std",
"thiserror",
]
disable-logging = ["log/max_level_off"]
no-metadata-docs = ["pezsp-api-proc-macro/no-metadata-docs"]
frame-metadata = ["pezsp-metadata-ir"]
runtime-benchmarks = [
"pezsp-runtime-interface/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"pezsp-state-machine?/runtime-benchmarks",
"pezsp-trie?/runtime-benchmarks",
"pezsp-version/runtime-benchmarks",
]