[package] name = "pallet-template" description = "FRAME pallet template for defining custom runtime logic." version = "0.0.0" license = "MIT-0" authors.workspace = true homepage.workspace = true repository.workspace = true edition.workspace = true publish = false [lints] workspace = true [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] [dependencies] codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = [ "derive", ] } scale-info = { version = "2.11.1", default-features = false, features = [ "derive", ] } # frame deps frame-benchmarking = { path = "../../../../substrate/frame/benchmarking", default-features = false, optional = true } frame-support = { path = "../../../../substrate/frame/support", default-features = false } frame-system = { path = "../../../../substrate/frame/system", default-features = false } [dev-dependencies] sp-core = { path = "../../../../substrate/primitives/core" } sp-io = { path = "../../../../substrate/primitives/io" } sp-runtime = { path = "../../../../substrate/primitives/runtime" } [features] default = ["std"] std = [ "codec/std", "frame-benchmarking?/std", "frame-support/std", "frame-system/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-runtime/runtime-benchmarks", ] try-runtime = [ "frame-support/try-runtime", "frame-system/try-runtime", "sp-runtime/try-runtime", ]