# 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 = "metadata-shortener" version = "0.2.1" authors = [ "Alexander Slesarev ", "Vera Abramova ", ] exclude = [ "/.github", "for_tests", "examples", ] description = "Reference implementation for metadata shortener for Substrate chains, RFC46" homepage = "https://github.com/Alzymologist/metadata-shortener" documentation = "https://docs.rs/metadata-shortener/" readme = "README.md" keywords = [ "substrate", "frame-metadata", ] license = "GPL-3.0-or-later" repository = "https://github.com/Alzymologist/metadata-shortener" [lib] name = "metadata_shortener" crate-type = ["lib"] [dependencies.blake3] version = "1.5.0" optional = true default-features = false [dependencies.external-memory-tools] version = "0.1.1" default-features = false [dependencies.frame-metadata] version = "16.0.0" features = [ "current", "decode", ] optional = true default-features = false [dependencies.merkle-cbt] version = "0.3.2" optional = true default-features = false [dependencies.merkle-cbt-lean] version = "0.1.1" optional = true default-features = false [dependencies.parity-scale-codec] version = "3.6.9" features = [ "derive", "bit-vec", ] default-features = false [dependencies.scale-info] version = "2.10.0" default-features = false [dependencies.substrate_parser] version = "0.6.0" default-features = false [dev-dependencies.blake3] version = "1.5.0" default-features = false [dev-dependencies.frame-metadata] version = "16.0.0" features = [ "current", "decode", ] default-features = false [dev-dependencies.hex] version = "0.4.3" [dev-dependencies.merkle-cbt] version = "0.3.2" default-features = false [dev-dependencies.merkle-cbt-lean] version = "0.1.1" features = ["proof-gen"] default-features = false [dev-dependencies.primitive-types] version = "0.12.2" [features] default = [ "std", "merkle-standard", "proof-gen", ] merkle-lean = [ "blake3", "merkle-cbt-lean", ] merkle-standard = [ "blake3", "frame-metadata", "merkle-cbt", ] proof-gen = [ "merkle-cbt-lean/proof-gen", "merkle-lean", ] std = []