polymesh-api-client 3.12.0

Polymesh API client core
Documentation
# 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 = "polymesh-api-client"
version = "3.12.0"
authors = ["Robert G. Jakabosky <robert@polymesh.network>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Polymesh API client core"
homepage = "https://github.com/PolymeshAssociation/polymesh-api"
readme = false
keywords = [
    "polymesh",
    "blockchain",
    "substrate",
    "codegen",
]
license = "Apache-2.0"
repository = "https://github.com/PolymeshAssociation/polymesh-api"

[features]
default = [
    "std",
    "serde",
    "type_info",
    "v12",
    "v13",
    "v14",
]
polymesh_v8 = []
serde = [
    "impl-serde",
    "serde-big-array",
    "hex/serde",
    "uuid/serde",
    "sp-core/serde",
    "sp-core/impl-serde",
    "sp-weights/serde",
    "primitive-types/impl-serde",
    "sp-arithmetic/serde",
    "sp-runtime/serde",
    "sp-application-crypto/serde",
]
std = [
    "codec/std",
    "uuid/std",
    "frame-metadata/std",
    "sp-core/std",
    "sp-std/std",
    "sp-runtime/std",
    "sp-weights/std",
    "sp-arithmetic/std",
    "scale-info/std",
    "subxt-signer/std",
]
type_info = [
    "scale-info",
    "serde",
    "primitive-types/scale-info",
]
v12 = ["frame-metadata/v12"]
v13 = ["frame-metadata/v13"]
v14 = ["frame-metadata/v14"]
wasm = [
    "v14",
    "sp-application-crypto/full_crypto",
    "subxt-signer/web",
]

[lib]
name = "polymesh_api_client"
path = "src/lib.rs"

[[example]]
name = "compare_storage_metadata"
path = "examples/compare_storage_metadata.rs"

[[example]]
name = "download_metadata"
path = "examples/download_metadata.rs"

[[example]]
name = "dump_blocks"
path = "examples/dump_blocks.rs"

[[example]]
name = "dump_metadata_type_defs"
path = "examples/dump_metadata_type_defs.rs"

[[example]]
name = "dump_schema_type_defs"
path = "examples/dump_schema_type_defs.rs"

[dependencies.async-stream]
version = "0.3"

[dependencies.async-trait]
version = "0.1"

[dependencies.codec]
version = "3"
default-features = false
package = "parity-scale-codec"

[dependencies.frame-metadata]
version = "=15.1.0"
default-features = false

[dependencies.futures-core]
version = "0.3"
default-features = false

[dependencies.hex]
version = "0.4"
features = ["alloc"]
default-features = false

[dependencies.http]
version = "0.2.8"

[dependencies.impl-serde]
version = "0.3.1"
optional = true
default-features = false

[dependencies.log]
version = "0.4"

[dependencies.primitive-types]
version = "0.13.0"
features = ["codec"]
default-features = false

[dependencies.scale-info]
version = "2.11"
optional = true
default-features = false

[dependencies.serde]
version = "1.0"

[dependencies.serde-big-array]
version = "0.4.1"
optional = true

[dependencies.serde_json]
version = "1.0"
features = [
    "preserve_order",
    "arbitrary_precision",
]
default-features = false

[dependencies.sp-arithmetic]
version = "28.0"
default-features = false

[dependencies.sp-core]
version = "40.0"
default-features = false

[dependencies.sp-runtime]
version = "46.0"
default-features = false

[dependencies.sp-std]
version = "14.0"
default-features = false

[dependencies.sp-weights]
version = "34.0"
default-features = false

[dependencies.subxt-signer]
version = "0.44"
features = [
    "sr25519",
    "ecdsa",
]
default-features = false

[dependencies.thiserror]
version = "1.0.31"

[dependencies.utoipa]
version = "5.4"
features = ["macros"]
optional = true
default-features = false

[dependencies.uuid]
version = "1.11"
default-features = false

[dev-dependencies.anyhow]
version = "1"

[dev-dependencies.dotenv]
version = "0.15"

[dev-dependencies.env_logger]
version = "0.11"

[dev-dependencies.frame-metadata]
version = "=15.1.0"
features = ["v14"]
default-features = false

[dev-dependencies.lazy_static]
version = "1.4.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.jsonrpsee]
version = "0.20"
features = ["client"]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1.19"
features = ["full"]

[target.'cfg(target_arch = "wasm32")'.dependencies.jsonrpsee]
version = "0.20"
features = ["wasm-client"]
default-features = false

[target.'cfg(target_arch = "wasm32")'.dependencies.sp-application-crypto]
version = "45.0"
default-features = false

[target.'cfg(target_arch = "wasm32")'.dependencies.sp-io]
version = "45.0"
features = [
    "disable_oom",
    "disable_panic_handler",
    "disable_allocator",
]
default-features = false

[target.'cfg(target_arch = "wasm32")'.dependencies.tokio]
version = "1"
features = ["rt"]