Files
pezframe-metadata/frame-metadata/Cargo.toml
T
Andrew Jones aa716b2bd6 Complete v13 type definitions, support metadata decoding and serde (#4)
* Add String type param for Decode impl, fix serde serialization

* Remove Deserialize derives and fix FormString impl for no_std

* Add SignedExtensionMetadata type, name is possibly be different than type name

* Add Extrinsic type

* Fix SignedExtenstionMetadata compilation issues

* Fmt

* Use PhantomData for V0 to fix no features check

* Restore ModuleMetadata index field

* Add module constants metadata

* Fmt
2021-01-15 09:26:17 +00:00

31 lines
871 B
TOML

[package]
name = "frame-metadata"
version = "12.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 = "Decodable variant of the RuntimeMetadata."
readme = "README.md"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "1.3.4", default-features = false, features = ["derive"] }
cfg-if = "1.0.0"
scale-info = { git = "https://github.com/paritytech/scale-info", default-features = false, optional = true, features = ["derive"] }
serde = { version = "1.0.101", optional = true, features = ["derive"] }
[features]
default = ["std", "v12"]
v12 = []
v13 = ["scale-info"]
std = [
"codec/std",
"scale-info/std",
"scale-info/serde",
"serde",
]