mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 00:37:57 +00:00
c8136bd1df
* 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>
37 lines
1.3 KiB
TOML
37 lines
1.3 KiB
TOML
[package]
|
|
name = "pallet-node-authorization"
|
|
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 pallet for node authorization"
|
|
|
|
[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-core = { version = "3.0.0", default-features = false, path = "../../primitives/core" }
|
|
sp-io = { version = "3.0.0", default-features = false, path = "../../primitives/io" }
|
|
sp-runtime = { version = "3.0.0", default-features = false, path = "../../primitives/runtime" }
|
|
sp-std = { version = "3.0.0", default-features = false, path = "../../primitives/std" }
|
|
log = { version = "0.4.14", default-features = false }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"codec/std",
|
|
"frame-support/std",
|
|
"frame-system/std",
|
|
"sp-core/std",
|
|
"sp-io/std",
|
|
"sp-runtime/std",
|
|
"sp-std/std",
|
|
"log/std",
|
|
]
|
|
try-runtime = ["frame-support/try-runtime"]
|