115 lines
6.4 KiB
TOML
115 lines
6.4 KiB
TOML
[package]
|
|
name = "node-template-runtime"
|
|
version = "4.0.0-dev"
|
|
description = "A fresh FRAME-based Substrate node, ready for hacking."
|
|
authors = ["Substrate DevHub <https://github.com/substrate-developer-hub>"]
|
|
homepage = "https://substrate.io/"
|
|
edition = "2021"
|
|
license = "Unlicense"
|
|
publish = false
|
|
repository = "https://github.com/substrate-developer-hub/substrate-node-template/"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false, features = ["derive"] }
|
|
scale-info = { version = "2.1.1", default-features = false, features = ["derive"] }
|
|
|
|
pallet-aura = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.40" }
|
|
pallet-balances = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.40" }
|
|
frame-support = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.40" }
|
|
pallet-grandpa = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.40" }
|
|
pallet-sudo = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.40" }
|
|
frame-system = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.40" }
|
|
frame-try-runtime = { version = "0.10.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", optional = true , branch = "polkadot-v0.9.40" }
|
|
pallet-timestamp = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.40" }
|
|
pallet-transaction-payment = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.40" }
|
|
frame-executive = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.40" }
|
|
sp-api = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.40" }
|
|
sp-block-builder = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.40" }
|
|
sp-consensus-aura = { version = "0.10.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.40" }
|
|
sp-consensus-grandpa = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.40" }
|
|
sp-core = { version = "7.0.0", default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.40" }
|
|
sp-inherents = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.40" }
|
|
sp-offchain = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.40" }
|
|
sp-runtime = { version = "7.0.0", default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.40" }
|
|
sp-session = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.40" }
|
|
sp-std = { version = "5.0.0", default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.40" }
|
|
sp-transaction-pool = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.40" }
|
|
sp-version = { version = "5.0.0", default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.40" }
|
|
|
|
# Used for the node template's RPCs
|
|
frame-system-rpc-runtime-api = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.40" }
|
|
pallet-transaction-payment-rpc-runtime-api = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.40" }
|
|
|
|
# Used for runtime benchmarking
|
|
frame-benchmarking = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", optional = true , branch = "polkadot-v0.9.40" }
|
|
frame-system-benchmarking = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", optional = true , branch = "polkadot-v0.9.40" }
|
|
|
|
# Local Dependencies
|
|
pallet-template = { version = "4.0.0-dev", default-features = false, path = "../pallets/template" }
|
|
|
|
[build-dependencies]
|
|
substrate-wasm-builder = { version = "5.0.0-dev", git = "https://github.com/paritytech/substrate.git", optional = true , branch = "polkadot-v0.9.40" }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"frame-try-runtime?/std",
|
|
"frame-system-benchmarking?/std",
|
|
"frame-benchmarking?/std",
|
|
"codec/std",
|
|
"scale-info/std",
|
|
"frame-executive/std",
|
|
"frame-support/std",
|
|
"frame-system-rpc-runtime-api/std",
|
|
"frame-system/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-inherents/std",
|
|
"sp-offchain/std",
|
|
"sp-runtime/std",
|
|
"sp-session/std",
|
|
"sp-std/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-template/runtime-benchmarks",
|
|
"pallet-timestamp/runtime-benchmarks",
|
|
"sp-runtime/runtime-benchmarks",
|
|
]
|
|
try-runtime = [
|
|
"frame-try-runtime/try-runtime",
|
|
"frame-executive/try-runtime",
|
|
"frame-system/try-runtime",
|
|
"frame-support/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",
|
|
]
|