solutions/pallets/template/Cargo.toml

45 lines
1.5 KiB
TOML
Raw Normal View History

[package]
authors = ['Substrate DevHub <https://github.com/substrate-developer-hub>']
2020-07-25 12:35:30 +00:00
description = 'FRAME pallet template for defining custom runtime logic.'
edition = '2018'
homepage = 'https://substrate.dev'
license = 'Unlicense'
name = 'pallet-template'
readme = 'README.md'
repository = 'https://github.com/substrate-developer-hub/substrate-node-template/'
2021-02-24 14:12:24 +00:00
version = '3.0.0'
2020-07-25 12:35:30 +00:00
[package.metadata.docs.rs]
targets = ['x86_64-unknown-linux-gnu']
2020-07-25 12:35:30 +00:00
2020-09-23 00:24:35 +00:00
[dependencies]
codec = { default-features = false, features = ['derive'], package = 'parity-scale-codec', version = '2.0.0' }
2021-02-24 14:12:24 +00:00
frame-system = { default-features = false, version = '3.0.0' }
frame-support = { default-features = false, version = '3.0.0' }
frame-benchmarking = { default-features = false, optional = true, version = '3.1.0' }
2021-04-15 10:53:36 +00:00
sp-std = { default-features = false, version = '3.0.0' }
2020-09-23 00:24:35 +00:00
[dev-dependencies]
2021-02-24 14:12:24 +00:00
serde = { version = "1.0.119" }
sp-core = { default-features = false, version = '3.0.0' }
sp-io = { default-features = false, version = '3.0.0' }
sp-runtime = { default-features = false, version = '3.0.0' }
[features]
default = ['std']
std = [
'codec/std',
'frame-support/std',
'frame-system/std',
'frame-benchmarking/std',
2021-04-15 10:53:36 +00:00
'sp-std/std',
]
runtime-benchmarks = [
'frame-benchmarking',
'frame-support/runtime-benchmarks',
'frame-system/runtime-benchmarks',
]
# Note: frame-support `try-runtime` feature is released after v3.
# Uncomment the following line when `frame-support` version > `3.0.0`.
# try-runtime = ['frame-support/try-runtime']