# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "frame-metadata" version = "18.0.0" authors = ["Parity Technologies "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Metadata types for Substrate runtimes" homepage = "https://substrate.dev" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/paritytech/frame-metadata/" resolver = "1" [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] [lib] name = "frame_metadata" path = "src/lib.rs" [dependencies.cfg-if] version = "1.0.0" [dependencies.codec] version = "3.0.0" features = ["derive"] default-features = false package = "parity-scale-codec" [dependencies.scale-info] version = "2.0.0" features = ["derive"] optional = true default-features = false [dependencies.serde] version = "1.0.101" features = ["derive"] optional = true default-features = false [features] current = ["scale-info"] decode = ["scale-info/decode"] default = [ "std", "current", ] legacy = [] serde_full = [ "scale-info/serde", "serde", "serde/alloc", ] std = [ "decode", "serde_full", "codec/std", "scale-info/std", "serde/std", ] unstable = ["current"]