mirror of
https://github.com/pezkuwichain/pez-solochain-template.git
synced 2026-04-21 23:47:59 +00:00
142 lines
4.6 KiB
TOML
142 lines
4.6 KiB
TOML
[package]
|
|
name = "solochain-template-runtime"
|
|
description = "A solochain runtime template built with Substrate, part of Polkadot Sdk. (polkadot v1.9.0)"
|
|
version = "0.1.0"
|
|
license = "MIT-0"
|
|
authors.workspace = true
|
|
homepage.workspace = true
|
|
repository.workspace = true
|
|
edition.workspace = true
|
|
publish = false
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = [
|
|
"derive",
|
|
] }
|
|
scale-info = { version = "2.10.0", default-features = false, features = [
|
|
"derive",
|
|
"serde",
|
|
] }
|
|
|
|
# frame
|
|
frame-support = { version = "31.0.0", default-features = false, features = ["experimental"] }
|
|
frame-system = { version = "31.0.0", default-features = false }
|
|
frame-try-runtime = { version = "0.37.0", default-features = false, optional = true }
|
|
frame-executive = { version = "31.0.0", default-features = false }
|
|
|
|
# frame pallets
|
|
pallet-aura = { version = "30.0.0", default-features = false }
|
|
pallet-balances = { version = "31.0.0", default-features = false }
|
|
pallet-grandpa = { version = "31.0.0", default-features = false }
|
|
pallet-sudo = { version = "31.0.0", default-features = false }
|
|
pallet-timestamp = { version = "30.0.0", default-features = false }
|
|
pallet-transaction-payment = { version = "31.0.0", default-features = false }
|
|
|
|
# primitives
|
|
sp-api = { version = "29.0.0", default-features = false }
|
|
sp-block-builder = { version = "29.0.0", default-features = false }
|
|
sp-consensus-aura = { version = "0.35.0", default-features = false, features = ["serde"] }
|
|
sp-consensus-grandpa = { version = "16.0.0", default-features = false, features = ["serde"] }
|
|
sp-core = { version = "31.0.0", default-features = false, features = ["serde"] }
|
|
sp-inherents = { version = "29.0.0", default-features = false }
|
|
sp-offchain = { version = "29.0.0", default-features = false }
|
|
sp-runtime = { version = "34.0.0", default-features = false, features = ["serde"] }
|
|
sp-session = { version = "30.0.0", default-features = false }
|
|
sp-std = { version = "14.0.0", default-features = false }
|
|
sp-storage = { version = "20.0.0", default-features = false }
|
|
sp-transaction-pool = { version = "29.0.0", default-features = false }
|
|
sp-version = { version = "32.0.0", default-features = false, features = ["serde"] }
|
|
sp-genesis-builder = { version = "0.10.0", default-features = false }
|
|
|
|
# RPC related
|
|
frame-system-rpc-runtime-api = { version = "29.0.0", default-features = false }
|
|
pallet-transaction-payment-rpc-runtime-api = { version = "31.0.0", default-features = false }
|
|
|
|
# Used for runtime benchmarking
|
|
frame-benchmarking = { version = "31.0.0", default-features = false, optional = true }
|
|
frame-system-benchmarking = { version = "31.0.0", default-features = false, optional = true }
|
|
|
|
# The pallet in this template.
|
|
pallet-template = { path = "../pallets/template", default-features = false, version = "0.1.0" }
|
|
|
|
[build-dependencies]
|
|
substrate-wasm-builder = { version = "20.0.0", optional = true }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"codec/std",
|
|
"scale-info/std",
|
|
|
|
"frame-executive/std",
|
|
"frame-support/std",
|
|
"frame-system-benchmarking?/std",
|
|
"frame-system-rpc-runtime-api/std",
|
|
"frame-system/std",
|
|
|
|
"frame-benchmarking?/std",
|
|
"frame-try-runtime?/std",
|
|
|
|
"pallet-aura/std",
|
|
"pallet-balances/std",
|
|
"pallet-grandpa/std",
|
|
"pallet-sudo/std",
|
|
"pallet-template/std",
|
|
"pallet-timestamp/std",
|
|
"pallet-transaction-payment-rpc-runtime-api/std",
|
|
"pallet-transaction-payment/std",
|
|
|
|
"sp-api/std",
|
|
"sp-block-builder/std",
|
|
"sp-consensus-aura/std",
|
|
"sp-consensus-grandpa/std",
|
|
"sp-core/std",
|
|
"sp-genesis-builder/std",
|
|
"sp-inherents/std",
|
|
"sp-offchain/std",
|
|
"sp-runtime/std",
|
|
"sp-session/std",
|
|
"sp-std/std",
|
|
"sp-storage/std",
|
|
"sp-transaction-pool/std",
|
|
"sp-version/std",
|
|
|
|
"substrate-wasm-builder",
|
|
]
|
|
|
|
runtime-benchmarks = [
|
|
"frame-benchmarking/runtime-benchmarks",
|
|
"frame-support/runtime-benchmarks",
|
|
"frame-system-benchmarking/runtime-benchmarks",
|
|
"frame-system/runtime-benchmarks",
|
|
"pallet-balances/runtime-benchmarks",
|
|
"pallet-grandpa/runtime-benchmarks",
|
|
"pallet-sudo/runtime-benchmarks",
|
|
"pallet-template/runtime-benchmarks",
|
|
"pallet-timestamp/runtime-benchmarks",
|
|
"sp-runtime/runtime-benchmarks",
|
|
]
|
|
|
|
try-runtime = [
|
|
"frame-executive/try-runtime",
|
|
"frame-support/try-runtime",
|
|
"frame-system/try-runtime",
|
|
"frame-try-runtime/try-runtime",
|
|
"pallet-aura/try-runtime",
|
|
"pallet-balances/try-runtime",
|
|
"pallet-grandpa/try-runtime",
|
|
"pallet-sudo/try-runtime",
|
|
"pallet-template/try-runtime",
|
|
"pallet-timestamp/try-runtime",
|
|
"pallet-transaction-payment/try-runtime",
|
|
"sp-runtime/try-runtime",
|
|
]
|
|
|
|
experimental = ["pallet-aura/experimental"]
|