# 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 = "apex-sdk-substrate"
version = "0.1.6"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Substrate adapter for Apex SDK"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/apex-sdk/apex-sdk"

[package.metadata.cargo-udeps.ignore]
normal = ["sp-runtime"]
development = ["mockall"]

[features]
default = []
typed = []
typed-kusama = ["typed"]
typed-polkadot = ["typed"]
typed-westend = ["typed"]

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

[[test]]
name = "block_test"
path = "tests/block_test.rs"

[[test]]
name = "contracts_test"
path = "tests/contracts_test.rs"

[[test]]
name = "fee_estimation"
path = "tests/fee_estimation.rs"

[[test]]
name = "lib_test"
path = "tests/lib_test.rs"

[[test]]
name = "storage_test"
path = "tests/storage_test.rs"

[[test]]
name = "transaction_test"
path = "tests/transaction_test.rs"

[[test]]
name = "westend_integration"
path = "tests/westend_integration.rs"

[[test]]
name = "xcm_test"
path = "tests/xcm_test.rs"

[[bench]]
name = "block_benchmarks"
path = "benches/block_benchmarks.rs"

[[bench]]
name = "substrate_benchmarks"
path = "benches/substrate_benchmarks.rs"

[dependencies.apex-sdk-core]
version = "0.1.6"

[dependencies.apex-sdk-types]
version = "0.1.6"

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

[dependencies.bip39]
version = "2.0.0"

[dependencies.chrono]
version = "0.4"

[dependencies.hex]
version = "0.4.3"

[dependencies.lru]
version = "0.16.2"

[dependencies.parity-scale-codec]
version = "3.6.12"
features = ["derive"]

[dependencies.parking_lot]
version = "0.12.3"

[dependencies.rand]
version = "0.9.2"

[dependencies.serde]
version = "1.0.203"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.117"

[dependencies.sp-core]
version = "39.0.0"
features = ["full_crypto"]

[dependencies.sp-runtime]
version = "45.0.0"

[dependencies.subxt]
version = "0.44.0"
features = ["native"]

[dependencies.thiserror]
version = "2.0.17"

[dependencies.tokio]
version = "1.38.0"
features = ["full"]

[dependencies.tracing]
version = "0.1.40"

[dependencies.zeroize]
version = "1.8.1"
features = ["derive"]

[dev-dependencies.criterion]
version = "0.8.1"

[dev-dependencies.mockall]
version = "0.14.0"

[dev-dependencies.tokio]
version = "1.38.0"
features = [
    "full",
    "test-util",
]
