[package] name = "teyrchain-template-runtime" description = "A teyrchain runtime template built with Bizinikiwi and Pezcumulus, part of Pezkuwi Sdk." version = "0.0.0" license = "Unlicense" authors.workspace = true homepage.workspace = true repository.workspace = true edition.workspace = true publish = false documentation = "https://docs.rs/teyrchain-template-runtime" [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] [lints] workspace = true [dependencies] codec = { features = ["derive"], workspace = true } docify = { workspace = true } hex-literal = { optional = true, workspace = true, default-features = true } log = { workspace = true } scale-info = { features = ["derive"], workspace = true } serde_json = { workspace = true, default-features = false, features = [ "alloc", ] } smallvec = { workspace = true, default-features = true } # Local pezpallet-teyrchain-template = { workspace = true } pezkuwi-sdk = { workspace = true, default-features = false, features = [ "pezpallet-aura", "pezpallet-authorship", "pezpallet-balances", "pezpallet-message-queue", "pezpallet-session", "pezpallet-sudo", "pezpallet-timestamp", "pezpallet-transaction-payment", "pezpallet-transaction-payment-rpc-runtime-api", "pezpallet-xcm", "pezkuwi-runtime-common", "pezkuwi-teyrchain-primitives", "pezstaging-xcm", "pezstaging-xcm-builder", "pezstaging-xcm-executor", "pezcumulus-pezpallet-aura-ext", "pezcumulus-pezpallet-session-benchmarking", "pezcumulus-pezpallet-weight-reclaim", "pezcumulus-pezpallet-xcm", "pezcumulus-pezpallet-xcmp-queue", "pezcumulus-primitives-aura", "pezcumulus-primitives-core", "pezcumulus-primitives-utility", "pezpallet-collator-selection", "pezstaging-teyrchain-info", "teyrchains-common", "runtime", ] } # Pezcumulus pezcumulus-pezpallet-teyrchain-system = { workspace = true } [build-dependencies] docify = { workspace = true } bizinikiwi-wasm-builder = { optional = true, workspace = true, default-features = true } [features] default = ["std"] std = [ "codec/std", "pezcumulus-pezpallet-teyrchain-system/std", "log/std", "pezpallet-teyrchain-template/std", "pezkuwi-sdk/std", "scale-info/std", "serde_json/std", "bizinikiwi-wasm-builder", ] runtime-benchmarks = [ "pezcumulus-pezpallet-teyrchain-system/runtime-benchmarks", "hex-literal", "pezpallet-teyrchain-template/runtime-benchmarks", "pezkuwi-sdk/runtime-benchmarks", "bizinikiwi-wasm-builder?/runtime-benchmarks", ] try-runtime = [ "pezcumulus-pezpallet-teyrchain-system/try-runtime", "pezpallet-teyrchain-template/try-runtime", "pezkuwi-sdk/try-runtime", ] # Enable the metadata hash generation. # # This is hidden behind a feature because it increases the compile time. # The wasm binary needs to be compiled twice, once to fetch the metadata, # generate the metadata hash and then a second time with the # `RUNTIME_METADATA_HASH` environment variable set for the `CheckMetadataHash` # extension. metadata-hash = ["bizinikiwi-wasm-builder/metadata-hash"] # A convenience feature for enabling things when doing a build # for an on-chain release. on-chain-release-build = ["metadata-hash"]