# 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 = "asset-hub-westend-runtime"
version = "0.26.5"
authors = ["Parity Technologies <admin@parity.io>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Westend variant of Asset Hub parachain runtime"
readme = "README.md"
license = "Apache-2.0"

[features]
default = ["std"]
metadata-hash = ["substrate-wasm-builder/metadata-hash"]
on-chain-release-build = ["metadata-hash"]
runtime-benchmarks = [
    "assets-common/runtime-benchmarks",
    "cumulus-pallet-parachain-system/runtime-benchmarks",
    "cumulus-pallet-session-benchmarking/runtime-benchmarks",
    "cumulus-pallet-xcmp-queue/runtime-benchmarks",
    "cumulus-primitives-core/runtime-benchmarks",
    "cumulus-primitives-utility/runtime-benchmarks",
    "frame-benchmarking/runtime-benchmarks",
    "frame-support/runtime-benchmarks",
    "frame-system-benchmarking/runtime-benchmarks",
    "frame-system/runtime-benchmarks",
    "pallet-asset-conversion-ops/runtime-benchmarks",
    "pallet-asset-conversion/runtime-benchmarks",
    "pallet-assets-freezer/runtime-benchmarks",
    "pallet-assets/runtime-benchmarks",
    "pallet-balances/runtime-benchmarks",
    "pallet-collator-selection/runtime-benchmarks",
    "pallet-message-queue/runtime-benchmarks",
    "pallet-multisig/runtime-benchmarks",
    "pallet-nft-fractionalization/runtime-benchmarks",
    "pallet-nfts/runtime-benchmarks",
    "pallet-proxy/runtime-benchmarks",
    "pallet-state-trie-migration/runtime-benchmarks",
    "pallet-timestamp/runtime-benchmarks",
    "pallet-uniques/runtime-benchmarks",
    "pallet-utility/runtime-benchmarks",
    "pallet-xcm-benchmarks/runtime-benchmarks",
    "pallet-xcm-bridge-hub-router/runtime-benchmarks",
    "pallet-xcm/runtime-benchmarks",
    "parachains-common/runtime-benchmarks",
    "polkadot-parachain-primitives/runtime-benchmarks",
    "polkadot-runtime-common/runtime-benchmarks",
    "snowbridge-router-primitives/runtime-benchmarks",
    "sp-runtime/runtime-benchmarks",
    "xcm-builder/runtime-benchmarks",
    "xcm-executor/runtime-benchmarks",
    "xcm-runtime-apis/runtime-benchmarks",
]
std = [
    "assets-common/std",
    "bp-asset-hub-rococo/std",
    "bp-asset-hub-westend/std",
    "bp-bridge-hub-rococo/std",
    "bp-bridge-hub-westend/std",
    "codec/std",
    "cumulus-pallet-aura-ext/std",
    "cumulus-pallet-parachain-system/std",
    "cumulus-pallet-session-benchmarking/std",
    "cumulus-pallet-xcm/std",
    "cumulus-pallet-xcmp-queue/std",
    "cumulus-primitives-aura/std",
    "cumulus-primitives-core/std",
    "cumulus-primitives-storage-weight-reclaim/std",
    "cumulus-primitives-utility/std",
    "frame-benchmarking?/std",
    "frame-executive/std",
    "frame-metadata-hash-extension/std",
    "frame-support/std",
    "frame-system-benchmarking?/std",
    "frame-system-rpc-runtime-api/std",
    "frame-system/std",
    "frame-try-runtime?/std",
    "log/std",
    "pallet-asset-conversion-ops/std",
    "pallet-asset-conversion-tx-payment/std",
    "pallet-asset-conversion/std",
    "pallet-assets-freezer/std",
    "pallet-assets/std",
    "pallet-aura/std",
    "pallet-authorship/std",
    "pallet-balances/std",
    "pallet-collator-selection/std",
    "pallet-message-queue/std",
    "pallet-multisig/std",
    "pallet-nft-fractionalization/std",
    "pallet-nfts-runtime-api/std",
    "pallet-nfts/std",
    "pallet-proxy/std",
    "pallet-session/std",
    "pallet-state-trie-migration/std",
    "pallet-timestamp/std",
    "pallet-transaction-payment-rpc-runtime-api/std",
    "pallet-transaction-payment/std",
    "pallet-uniques/std",
    "pallet-utility/std",
    "pallet-xcm-benchmarks?/std",
    "pallet-xcm-bridge-hub-router/std",
    "pallet-xcm/std",
    "parachain-info/std",
    "parachains-common/std",
    "polkadot-parachain-primitives/std",
    "polkadot-runtime-common/std",
    "primitive-types/std",
    "scale-info/std",
    "serde_json/std",
    "snowbridge-router-primitives/std",
    "sp-api/std",
    "sp-block-builder/std",
    "sp-consensus-aura/std",
    "sp-core/std",
    "sp-genesis-builder/std",
    "sp-inherents/std",
    "sp-offchain/std",
    "sp-runtime/std",
    "sp-session/std",
    "sp-std/std",
    "sp-storage/std",
    "sp-transaction-pool/std",
    "sp-version/std",
    "substrate-wasm-builder",
    "testnet-parachains-constants/std",
    "westend-runtime-constants/std",
    "xcm-builder/std",
    "xcm-executor/std",
    "xcm-runtime-apis/std",
    "xcm/std",
]
try-runtime = [
    "cumulus-pallet-aura-ext/try-runtime",
    "cumulus-pallet-parachain-system/try-runtime",
    "cumulus-pallet-xcm/try-runtime",
    "cumulus-pallet-xcmp-queue/try-runtime",
    "frame-executive/try-runtime",
    "frame-support/try-runtime",
    "frame-system/try-runtime",
    "frame-try-runtime/try-runtime",
    "pallet-asset-conversion-ops/try-runtime",
    "pallet-asset-conversion-tx-payment/try-runtime",
    "pallet-asset-conversion/try-runtime",
    "pallet-assets-freezer/try-runtime",
    "pallet-assets/try-runtime",
    "pallet-aura/try-runtime",
    "pallet-authorship/try-runtime",
    "pallet-balances/try-runtime",
    "pallet-collator-selection/try-runtime",
    "pallet-message-queue/try-runtime",
    "pallet-multisig/try-runtime",
    "pallet-nft-fractionalization/try-runtime",
    "pallet-nfts/try-runtime",
    "pallet-proxy/try-runtime",
    "pallet-session/try-runtime",
    "pallet-state-trie-migration/try-runtime",
    "pallet-timestamp/try-runtime",
    "pallet-transaction-payment/try-runtime",
    "pallet-uniques/try-runtime",
    "pallet-utility/try-runtime",
    "pallet-xcm-bridge-hub-router/try-runtime",
    "pallet-xcm/try-runtime",
    "parachain-info/try-runtime",
    "polkadot-runtime-common/try-runtime",
    "sp-runtime/try-runtime",
]

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

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

[dependencies.assets-common]
version = "0.18.3"
default-features = false

[dependencies.bp-asset-hub-rococo]
version = "0.14.2"
default-features = false

[dependencies.bp-asset-hub-westend]
version = "0.13.2"
default-features = false

[dependencies.bp-bridge-hub-rococo]
version = "0.18.0"
default-features = false

[dependencies.bp-bridge-hub-westend]
version = "0.14.0"
default-features = false

[dependencies.codec]
version = "3.6.12"
features = [
    "derive",
    "max-encoded-len",
]
default-features = false
package = "parity-scale-codec"

[dependencies.cumulus-pallet-aura-ext]
version = "0.17.0"
default-features = false

[dependencies.cumulus-pallet-parachain-system]
version = "0.17.2"
default-features = false

[dependencies.cumulus-pallet-session-benchmarking]
version = "19.0.0"
default-features = false

[dependencies.cumulus-pallet-xcm]
version = "0.17.0"
default-features = false

[dependencies.cumulus-pallet-xcmp-queue]
version = "0.17.3"
features = ["bridging"]
default-features = false

[dependencies.cumulus-primitives-aura]
version = "0.15.0"
default-features = false

[dependencies.cumulus-primitives-core]
version = "0.16.0"
default-features = false

[dependencies.cumulus-primitives-storage-weight-reclaim]
version = "8.0.0"
default-features = false

[dependencies.cumulus-primitives-utility]
version = "0.17.1"
default-features = false

[dependencies.frame-benchmarking]
version = "38.0.0"
optional = true
default-features = false

[dependencies.frame-executive]
version = "38.0.0"
default-features = false

[dependencies.frame-metadata-hash-extension]
version = "0.6.0"
default-features = false

[dependencies.frame-support]
version = "38.2.0"
default-features = false

[dependencies.frame-system]
version = "38.0.0"
default-features = false

[dependencies.frame-system-benchmarking]
version = "38.0.0"
optional = true
default-features = false

[dependencies.frame-system-rpc-runtime-api]
version = "34.0.0"
default-features = false

[dependencies.frame-try-runtime]
version = "0.44.0"
optional = true
default-features = false

[dependencies.hex-literal]
version = "0.4.1"
default-features = true

[dependencies.log]
version = "0.4.22"
default-features = false

[dependencies.pallet-asset-conversion]
version = "20.0.0"
default-features = false

[dependencies.pallet-asset-conversion-ops]
version = "0.6.0"
default-features = false

[dependencies.pallet-asset-conversion-tx-payment]
version = "20.0.0"
default-features = false

[dependencies.pallet-assets]
version = "40.0.0"
default-features = false

[dependencies.pallet-assets-freezer]
version = "0.5.0"
default-features = false

[dependencies.pallet-aura]
version = "37.0.0"
default-features = false

[dependencies.pallet-authorship]
version = "38.0.0"
default-features = false

[dependencies.pallet-balances]
version = "39.0.1"
default-features = false

[dependencies.pallet-collator-selection]
version = "19.0.0"
default-features = false

[dependencies.pallet-message-queue]
version = "41.0.2"
default-features = false

[dependencies.pallet-multisig]
version = "38.0.0"
default-features = false

[dependencies.pallet-nft-fractionalization]
version = "21.0.0"
default-features = false

[dependencies.pallet-nfts]
version = "32.0.0"
default-features = false

[dependencies.pallet-nfts-runtime-api]
version = "24.0.0"
default-features = false

[dependencies.pallet-proxy]
version = "38.0.0"
default-features = false

[dependencies.pallet-session]
version = "38.0.0"
default-features = false

[dependencies.pallet-state-trie-migration]
version = "40.0.0"
default-features = false

[dependencies.pallet-timestamp]
version = "37.0.0"
default-features = false

[dependencies.pallet-transaction-payment]
version = "38.0.2"
default-features = false

[dependencies.pallet-transaction-payment-rpc-runtime-api]
version = "38.0.0"
default-features = false

[dependencies.pallet-uniques]
version = "38.0.0"
default-features = false

[dependencies.pallet-utility]
version = "38.0.0"
default-features = false

[dependencies.pallet-xcm]
version = "17.0.2"
default-features = false

[dependencies.pallet-xcm-benchmarks]
version = "17.0.1"
optional = true
default-features = false

[dependencies.pallet-xcm-bridge-hub-router]
version = "0.15.3"
default-features = false

[dependencies.parachain-info]
version = "0.17.0"
default-features = false
package = "staging-parachain-info"

[dependencies.parachains-common]
version = "18.0.0"
default-features = false

[dependencies.polkadot-parachain-primitives]
version = "14.0.0"
default-features = false

[dependencies.polkadot-runtime-common]
version = "17.0.1"
default-features = false

[dependencies.primitive-types]
version = "0.12.1"
features = [
    "codec",
    "num-traits",
    "scale-info",
]
default-features = false

[dependencies.scale-info]
version = "2.11.1"
features = ["derive"]
default-features = false

[dependencies.serde_json]
version = "1.0.127"
features = ["alloc"]
default-features = false

[dependencies.snowbridge-router-primitives]
version = "0.16.1"
default-features = false

[dependencies.sp-api]
version = "34.0.0"
default-features = false

[dependencies.sp-block-builder]
version = "34.0.0"
default-features = false

[dependencies.sp-consensus-aura]
version = "0.40.0"
default-features = false

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

[dependencies.sp-genesis-builder]
version = "0.15.1"
default-features = false

[dependencies.sp-inherents]
version = "34.0.0"
default-features = false

[dependencies.sp-offchain]
version = "34.0.0"
default-features = false

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

[dependencies.sp-session]
version = "36.0.0"
default-features = false

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

[dependencies.sp-storage]
version = "21.0.0"
default-features = false

[dependencies.sp-transaction-pool]
version = "34.0.0"
default-features = false

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

[dependencies.testnet-parachains-constants]
version = "10.0.0"
features = ["westend"]
default-features = false

[dependencies.westend-runtime-constants]
version = "17.0.0"
default-features = false

[dependencies.xcm]
version = "14.2.2"
default-features = false
package = "staging-xcm"

[dependencies.xcm-builder]
version = "17.0.5"
default-features = false
package = "staging-xcm-builder"

[dependencies.xcm-executor]
version = "17.0.2"
default-features = false
package = "staging-xcm-executor"

[dependencies.xcm-runtime-apis]
version = "0.4.3"
default-features = false

[dev-dependencies]

[build-dependencies.substrate-wasm-builder]
version = "24.0.2"
optional = true
default-features = true

[lints.clippy.all]
level = "allow"
priority = 0

[lints.clippy.bind_instead_of_map]
level = "allow"
priority = 2

[lints.clippy.borrowed-box]
level = "allow"
priority = 2

[lints.clippy.complexity]
level = "warn"
priority = 1

[lints.clippy.correctness]
level = "warn"
priority = 1

[lints.clippy.default_constructed_unit_structs]
level = "allow"
priority = 2

[lints.clippy.derivable_impls]
level = "allow"
priority = 2

[lints.clippy.eq_op]
level = "allow"
priority = 2

[lints.clippy.erasing_op]
level = "allow"
priority = 2

[lints.clippy.extra-unused-type-parameters]
level = "allow"
priority = 2

[lints.clippy.identity-op]
level = "allow"
priority = 2

[lints.clippy.if-same-then-else]
level = "allow"
priority = 2

[lints.clippy.needless-lifetimes]
level = "allow"
priority = 2

[lints.clippy.needless_option_as_deref]
level = "allow"
priority = 2

[lints.clippy.nonminimal-bool]
level = "allow"
priority = 2

[lints.clippy.option-map-unit-fn]
level = "allow"
priority = 2

[lints.clippy.stable_sort_primitive]
level = "allow"
priority = 2

[lints.clippy.too-many-arguments]
level = "allow"
priority = 2

[lints.clippy.type_complexity]
level = "allow"
priority = 2

[lints.clippy.unit_arg]
level = "allow"
priority = 2

[lints.clippy.unnecessary_cast]
level = "allow"
priority = 2

[lints.clippy.useless_conversion]
level = "allow"
priority = 2

[lints.clippy.while_immutable_condition]
level = "allow"
priority = 2

[lints.clippy.zero-prefixed-literal]
level = "allow"
priority = 2

[lints.rust.suspicious_double_ref_op]
level = "allow"
priority = 2

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(substrate_runtime)"]
