1#![cfg_attr(not(feature = "std"), no_std)]
2
3extern crate alloc;
4
5use polymesh_api_codegen_macro::*;
6
7#[cfg_attr(
8 all(not(feature = "download_metadata"), feature = "polymesh_v7"),
9 codegen_api(metadata_file = "specs/polymesh_dev_spec_7000005.meta")
10)]
11#[cfg_attr(
12 feature = "download_metadata",
13 codegen_api(metadata_url = "POLYMESH_NODE_URL")
14)]
15mod polymesh {}
16
17pub use polymesh::*;
18
19#[cfg(feature = "rpc")]
21pub use polymesh_api_client as client;
22#[cfg(feature = "rpc")]
23pub use polymesh_api_client::{ChainApi, Client};
24
25#[cfg(feature = "ink")]
26pub use polymesh_api_ink as ink;