mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-27 19:51:09 +00:00
b9f5419095
* WIP new Metadata type * Finish basic Metadata impl inc hashing and validation * remove caching from metadata; can add that higher up * remove caches * update retain to use Metadata * clippy fixes * update codegen to use Metadata * clippy * WIP fixing subxt lib * WIP fixing tests, rebuild artifacts, fix OrderedMap::retain * get --all-targets compiling * move DispatchError type lookup back to being optional * cargo clippy * fix docs * re-use VariantIndex to get variants * add docs and enforce docs on metadata crate * fix docs * add test and fix docs * cargo fmt * address review comments * update lockfiles * ExactSizeIter so we can ask for len() of things (and hopefully soon is_empty()
15 lines
476 B
Rust
15 lines
476 B
Rust
// Copyright 2019-2023 Parity Technologies (UK) Ltd.
|
|
// This file is dual-licensed as Apache-2.0 or GPL-3.0.
|
|
// see LICENSE for license details.
|
|
|
|
//! Types representing the metadata obtained from a node.
|
|
|
|
mod decode_encode_traits;
|
|
mod metadata_type;
|
|
|
|
pub use decode_encode_traits::{DecodeWithMetadata, EncodeWithMetadata};
|
|
pub use metadata_type::Metadata;
|
|
|
|
// Expose metadata types under a sub module in case somebody needs to reference them:
|
|
pub use subxt_metadata as types;
|