Files
pezkuwi-subxt/substrate/frame/executive/Cargo.toml
T
Bastian Köcher c8136bd1df Remove serde requirement from FRAME macros (#8628)
* Remove `serde` requirement from FRAME macros

Currently there is some implicit requirement on `serde` being present in
the `Cargo.toml` of a pallet when `GenesisConfig` is used. This pr
removes this requirement by using the serde attribute `serde(crate = "..")`.

* build a unique reexport of serde in impl_opaque_keys, by abusing paste doc concatenation

* Optimize

Co-authored-by: thiolliere <gui.thiolliere@gmail.com>
2021-04-16 12:42:37 +02:00

50 lines
1.8 KiB
TOML

[package]
name = "frame-executive"
version = "3.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
license = "Apache-2.0"
homepage = "https://substrate.dev"
repository = "https://github.com/paritytech/substrate/"
description = "FRAME executives engine"
readme = "README.md"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = ["derive"] }
frame-support = { version = "3.0.0", default-features = false, path = "../support" }
frame-system = { version = "3.0.0", default-features = false, path = "../system" }
sp-runtime = { version = "3.0.0", default-features = false, path = "../../primitives/runtime" }
sp-tracing = { version = "3.0.0", default-features = false, path = "../../primitives/tracing" }
sp-std = { version = "3.0.0", default-features = false, path = "../../primitives/std" }
sp-io = { version = "3.0.0", default-features = false, path = "../../primitives/io" }
sp-core = { version = "3.0.0", default-features = false, path = "../../primitives/core" }
[dev-dependencies]
hex-literal = "0.3.1"
sp-core = { version = "3.0.0", path = "../../primitives/core" }
sp-io ={ version = "3.0.0", path = "../../primitives/io" }
pallet-indices = { version = "3.0.0", path = "../indices" }
pallet-balances = { version = "3.0.0", path = "../balances" }
pallet-transaction-payment = { version = "3.0.0", path = "../transaction-payment" }
sp-version = { version = "3.0.0", path = "../../primitives/version" }
sp-inherents = { version = "3.0.0", path = "../../primitives/inherents" }
[features]
default = ["std"]
with-tracing = [
"sp-tracing/with-tracing"
]
std = [
"codec/std",
"frame-support/std",
"frame-system/std",
"sp-core/std",
"sp-runtime/std",
"sp-tracing/std",
"sp-std/std",
]
try-runtime = ["frame-support/try-runtime"]