mirror of
https://github.com/pezkuwichain/pezframe-metadata.git
synced 2026-04-22 11:17:57 +00:00
b5aceed422
* add v11 metadata * add v10 metadata * add v8/v9 metadata * add version and legacy features * add debug impl for legacy metadata * any for features in RuntimeMetadata enum * revert codec version change * spaces * add v8-v13 test metadata * remove runtime version from meta bin name * move test_data outside of src/ * add tests for v9-v14 metadata * remove println * Update frame-metadata/src/lib.rs Co-authored-by: David <dvdplm@gmail.com> * add docs per meta version upto 13 * cargo fmt Co-authored-by: David <dvdplm@gmail.com>
38 lines
956 B
TOML
38 lines
956 B
TOML
[package]
|
|
name = "frame-metadata"
|
|
version = "14.0.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
license = "Apache-2.0"
|
|
homepage = "https://substrate.dev"
|
|
repository = "https://github.com/paritytech/frame-metadata/"
|
|
description = "Metadata types for Substrate runtimes"
|
|
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"] }
|
|
cfg-if = "1.0.0"
|
|
scale-info = { version = "1.0", default-features = false, optional = true, features = ["derive"] }
|
|
serde = { version = "1.0.101", optional = true, features = ["derive"] }
|
|
|
|
[features]
|
|
default = ["std", "v14"]
|
|
v8 = []
|
|
v9 = []
|
|
v10 = []
|
|
v11 = []
|
|
v12 = []
|
|
v13 = []
|
|
legacy = ["v13", "v12", "v11", "v10", "v9", "v8"]
|
|
v14 = ["scale-info"]
|
|
std = [
|
|
"codec/std",
|
|
"scale-info/std",
|
|
"scale-info/serde",
|
|
"scale-info/decode",
|
|
"serde",
|
|
]
|