57 lines
1.3 KiB
TOML
57 lines
1.3 KiB
TOML
[package]
|
|
name = "pallet-example-tasks"
|
|
version = "1.0.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
description = "Pallet to demonstrate the usage of Tasks to recognize and execute service work"
|
|
publish = false
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
codec = { workspace = true }
|
|
log = { workspace = true }
|
|
scale-info = { features = ["derive"], workspace = true }
|
|
|
|
frame-support = { workspace = true }
|
|
frame-system = { workspace = true }
|
|
|
|
sp-core = { workspace = true }
|
|
sp-io = { workspace = true }
|
|
sp-runtime = { workspace = true }
|
|
|
|
frame-benchmarking = { optional = true, workspace = true }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"codec/std",
|
|
"frame-benchmarking?/std",
|
|
"frame-support/std",
|
|
"frame-system/std",
|
|
"log/std",
|
|
"scale-info/std",
|
|
"sp-core/std",
|
|
"sp-io/std",
|
|
"sp-runtime/std",
|
|
]
|
|
runtime-benchmarks = [
|
|
"frame-benchmarking/runtime-benchmarks",
|
|
"frame-support/runtime-benchmarks",
|
|
"frame-system/runtime-benchmarks",
|
|
"sp-io/runtime-benchmarks",
|
|
"sp-runtime/runtime-benchmarks",
|
|
]
|
|
try-runtime = [
|
|
"frame-support/try-runtime",
|
|
"frame-system/try-runtime",
|
|
"sp-runtime/try-runtime",
|
|
]
|
|
experimental = ["frame-support/experimental", "frame-system/experimental"]
|