mirror of
https://github.com/pezkuwichain/pezkuwi-runtime-templates.git
synced 2026-07-19 01:35:42 +00:00
base for testing new pallets
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
[package]
|
||||
name = "pallet-parachain-template"
|
||||
authors = ["Anonymous"]
|
||||
description = "FRAME pallet template for defining custom runtime logic."
|
||||
version = "0.1.0"
|
||||
license = "Unlicense"
|
||||
homepage = "https://substrate.io"
|
||||
repository.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.0.0", features = [
|
||||
"derive",
|
||||
], default-features = false }
|
||||
scale-info = { version = "2.10.0", default-features = false, features = [
|
||||
"derive",
|
||||
] }
|
||||
# parity-scale-codec = { version = "3.1.5", default-features = false }
|
||||
# scale-info = { version = "2.1.2", default-features = false }
|
||||
|
||||
# Substrate
|
||||
frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.3.0", default-features = false, optional = true }
|
||||
frame-support = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.3.0", default-features = false }
|
||||
frame-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.3.0", default-features = false }
|
||||
|
||||
[dev-dependencies]
|
||||
serde = { version = "1.0.188" }
|
||||
|
||||
# Substrate
|
||||
sp-core = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.3.0", default-features = false }
|
||||
sp-io = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.3.0", default-features = false }
|
||||
sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.3.0", default-features = false }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
runtime-benchmarks = [
|
||||
"frame-benchmarking/runtime-benchmarks",
|
||||
"frame-support/runtime-benchmarks",
|
||||
"frame-system/runtime-benchmarks",
|
||||
"sp-runtime/runtime-benchmarks",
|
||||
]
|
||||
std = [
|
||||
"codec/std",
|
||||
"frame-benchmarking/std",
|
||||
"frame-support/std",
|
||||
"frame-system/std",
|
||||
"scale-info/std",
|
||||
"sp-core/std",
|
||||
"sp-io/std",
|
||||
"sp-runtime/std",
|
||||
]
|
||||
try-runtime = [
|
||||
"frame-support/try-runtime",
|
||||
"frame-system/try-runtime",
|
||||
"sp-runtime/try-runtime",
|
||||
]
|
||||
Reference in New Issue
Block a user