mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 11:07:56 +00:00
f687db40f7
* Bump clap to 3.2.22 * Replace `from_os_str` with `value_parser` * Replace `from_str` and `try_from_str` with `value_parser` * Move possible_values to the new format * Remove unwanted print * Add missing match branch * Update clap to 4.0.9 and make it compile * Replace deprecated `clap` macro with `command` and `value` * Move remaining `clap` attributes to `arg` * Remove no-op value_parsers * Adjust value_parser for state_version * Remove "deprecated" feature flag and bump to 4.0.11 * Improve range Co-authored-by: Bastian Köcher <git@kchr.de> * Apply suggestions * Trigger CI * Fix unused error warning * Fix doc errors * Fix ArgGroup naming conflict * Change default_value to default_value_t * Use 1.. instead of 0.. Co-authored-by: Bastian Köcher <git@kchr.de>
79 lines
4.1 KiB
TOML
79 lines
4.1 KiB
TOML
[package]
|
|
name = "node-template"
|
|
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/"
|
|
build = "build.rs"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[[bin]]
|
|
name = "node-template"
|
|
|
|
[dependencies]
|
|
clap = { version = "4.0.9", features = ["derive"] }
|
|
|
|
sc-cli = { version = "0.10.0-dev", path = "../../../client/cli", features = ["wasmtime"] }
|
|
sp-core = { version = "6.0.0", path = "../../../primitives/core" }
|
|
sc-executor = { version = "0.10.0-dev", path = "../../../client/executor", features = ["wasmtime"] }
|
|
sc-service = { version = "0.10.0-dev", path = "../../../client/service", features = ["wasmtime"] }
|
|
sc-telemetry = { version = "4.0.0-dev", path = "../../../client/telemetry" }
|
|
sc-keystore = { version = "4.0.0-dev", path = "../../../client/keystore" }
|
|
sc-transaction-pool = { version = "4.0.0-dev", path = "../../../client/transaction-pool" }
|
|
sc-transaction-pool-api = { version = "4.0.0-dev", path = "../../../client/transaction-pool/api" }
|
|
sc-consensus-aura = { version = "0.10.0-dev", path = "../../../client/consensus/aura" }
|
|
sp-consensus-aura = { version = "0.10.0-dev", path = "../../../primitives/consensus/aura" }
|
|
sp-consensus = { version = "0.10.0-dev", path = "../../../primitives/consensus/common" }
|
|
sc-consensus = { version = "0.10.0-dev", path = "../../../client/consensus/common" }
|
|
sc-finality-grandpa = { version = "0.10.0-dev", path = "../../../client/finality-grandpa" }
|
|
sp-finality-grandpa = { version = "4.0.0-dev", path = "../../../primitives/finality-grandpa" }
|
|
sc-client-api = { version = "4.0.0-dev", path = "../../../client/api" }
|
|
sp-runtime = { version = "6.0.0", path = "../../../primitives/runtime" }
|
|
sp-timestamp = { version = "4.0.0-dev", path = "../../../primitives/timestamp" }
|
|
sp-inherents = { version = "4.0.0-dev", path = "../../../primitives/inherents" }
|
|
sp-keyring = { version = "6.0.0", path = "../../../primitives/keyring" }
|
|
frame-system = { version = "4.0.0-dev", path = "../../../frame/system" }
|
|
pallet-transaction-payment = { version = "4.0.0-dev", default-features = false, path = "../../../frame/transaction-payment" }
|
|
|
|
# These dependencies are used for the node template's RPCs
|
|
jsonrpsee = { version = "0.15.1", features = ["server"] }
|
|
sc-rpc = { version = "4.0.0-dev", path = "../../../client/rpc" }
|
|
sp-api = { version = "4.0.0-dev", path = "../../../primitives/api" }
|
|
sc-rpc-api = { version = "0.10.0-dev", path = "../../../client/rpc-api" }
|
|
sp-blockchain = { version = "4.0.0-dev", path = "../../../primitives/blockchain" }
|
|
sp-block-builder = { version = "4.0.0-dev", path = "../../../primitives/block-builder" }
|
|
sc-basic-authorship = { version = "0.10.0-dev", path = "../../../client/basic-authorship" }
|
|
substrate-frame-rpc-system = { version = "4.0.0-dev", path = "../../../utils/frame/rpc/system" }
|
|
pallet-transaction-payment-rpc = { version = "4.0.0-dev", path = "../../../frame/transaction-payment/rpc/" }
|
|
|
|
# These dependencies are used for runtime benchmarking
|
|
frame-benchmarking = { version = "4.0.0-dev", path = "../../../frame/benchmarking" }
|
|
frame-benchmarking-cli = { version = "4.0.0-dev", path = "../../../utils/frame/benchmarking-cli" }
|
|
|
|
# Local Dependencies
|
|
node-template-runtime = { version = "4.0.0-dev", path = "../runtime" }
|
|
|
|
# CLI-specific dependencies
|
|
try-runtime-cli = { version = "0.10.0-dev", optional = true, path = "../../../utils/frame/try-runtime/cli" }
|
|
|
|
[build-dependencies]
|
|
substrate-build-script-utils = { version = "3.0.0", path = "../../../utils/build-script-utils" }
|
|
|
|
[features]
|
|
default = []
|
|
# Dependencies that are only required if runtime benchmarking should be build.
|
|
runtime-benchmarks = [
|
|
"node-template-runtime/runtime-benchmarks",
|
|
"frame-benchmarking/runtime-benchmarks",
|
|
"frame-benchmarking-cli/runtime-benchmarks",
|
|
]
|
|
# Enable features that allow the runtime to be tried and debugged. Name might be subject to change
|
|
# in the near future.
|
|
try-runtime = ["node-template-runtime/try-runtime", "try-runtime-cli"]
|