mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 17:31:05 +00:00
add pallet macro kitchensink example/template (#14052)
* add pallet macro kitchen-sink pallet * update * Adds benchmarking setup * Updates APIs * Fixes benchmark * Uses derive_impl for frame_system * Adds benchmarks * Minor update * Adds license * Adds examples crate * ".git/.scripts/commands/fmt/fmt.sh" * Update frame/examples/kitchensink/src/tests.rs Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com> * Update frame/examples/kitchensink/src/lib.rs Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com> * Update frame/examples/kitchensink/src/lib.rs Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com> * Addresses review comments * Addresses review comments * ".git/.scripts/commands/fmt/fmt.sh" --------- Co-authored-by: Nikhil Gupta <17176722+gupnik@users.noreply.github.com> Co-authored-by: command-bot <> Co-authored-by: command-bot <ci@gitlab.parity.io>
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
[package]
|
||||
name = "pallet-examples"
|
||||
version = "4.0.0-dev"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
edition = "2021"
|
||||
license = "Apache-2.0"
|
||||
homepage = "https://substrate.io"
|
||||
repository = "https://github.com/paritytech/substrate/"
|
||||
description = "The single package with various examples for frame pallets"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
[dependencies]
|
||||
pallet-example-basic = { default-features = false, path = "./basic" }
|
||||
pallet-default-config-example = { default-features = false, path = "./default-config" }
|
||||
pallet-example-offchain-worker = { default-features = false, path = "./offchain-worker" }
|
||||
pallet-example-kitchensink = { default-features = false, path = "./kitchensink" }
|
||||
pallet-dev-mode = { default-features = false, path = "./dev-mode" }
|
||||
|
||||
[features]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"pallet-example-basic/std",
|
||||
"pallet-default-config-example/std",
|
||||
"pallet-example-offchain-worker/std",
|
||||
"pallet-example-kitchensink/std",
|
||||
"pallet-dev-mode/std",
|
||||
]
|
||||
try-runtime = [
|
||||
"pallet-example-basic/try-runtime",
|
||||
"pallet-default-config-example/try-runtime",
|
||||
"pallet-example-offchain-worker/try-runtime",
|
||||
"pallet-example-kitchensink/try-runtime",
|
||||
"pallet-dev-mode/try-runtime",
|
||||
]
|
||||
Reference in New Issue
Block a user