mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 12:17:58 +00:00
62ef739faf
* Add benchmark to node-template pallet-template * export sp_std to avoid missing dep when using macro * fix more `sp_std` deps * remove unused * Update bin/node-template/pallets/template/src/benchmarking.rs Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * Update bin/node-template/pallets/template/Cargo.toml Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
62 lines
1.4 KiB
TOML
62 lines
1.4 KiB
TOML
[package]
|
|
authors = ['Anonymous']
|
|
edition = '2018'
|
|
name = 'pallet-template'
|
|
version = "2.0.0"
|
|
license = "Unlicense"
|
|
homepage = "https://substrate.dev"
|
|
repository = "https://github.com/paritytech/substrate/"
|
|
description = "FRAME pallet template for defining custom runtime logic."
|
|
readme = "README.md"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = ["derive"] }
|
|
|
|
[dependencies.frame-support]
|
|
default-features = false
|
|
version = "3.0.0"
|
|
path = "../../../../frame/support"
|
|
|
|
[dependencies.frame-system]
|
|
default-features = false
|
|
version = "3.0.0"
|
|
path = "../../../../frame/system"
|
|
|
|
[dependencies.frame-benchmarking]
|
|
default-features = false
|
|
version = "3.1.0"
|
|
path = "../../../../frame/benchmarking"
|
|
optional = true
|
|
|
|
[dev-dependencies]
|
|
serde = { version = "1.0.101" }
|
|
|
|
[dev-dependencies.sp-core]
|
|
default-features = false
|
|
version = "3.0.0"
|
|
path = "../../../../primitives/core"
|
|
|
|
[dev-dependencies.sp-io]
|
|
default-features = false
|
|
version = "3.0.0"
|
|
path = "../../../../primitives/io"
|
|
|
|
[dev-dependencies.sp-runtime]
|
|
default-features = false
|
|
version = "3.0.0"
|
|
path = "../../../../primitives/runtime"
|
|
|
|
[features]
|
|
default = ['std']
|
|
std = [
|
|
'codec/std',
|
|
'frame-support/std',
|
|
'frame-system/std',
|
|
'frame-benchmarking/std',
|
|
]
|
|
runtime-benchmarks = ["frame-benchmarking"]
|
|
try-runtime = ["frame-support/try-runtime"]
|