# 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-test-utils"
version = "32.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Test utils for Asset Hub runtimes."
homepage = "https://paritytech.github.io/polkadot-sdk/"
readme = false
license = "Apache-2.0"
repository = "https://github.com/paritytech/polkadot-sdk.git"

[features]
default = ["std"]
std = [
    "assets-common/std",
    "codec/std",
    "cumulus-pallet-parachain-system/std",
    "cumulus-pallet-xcmp-queue/std",
    "cumulus-primitives-core/std",
    "frame-support/std",
    "frame-system/std",
    "pallet-asset-conversion/std",
    "pallet-assets/std",
    "pallet-balances/std",
    "pallet-collator-selection/std",
    "pallet-session/std",
    "pallet-timestamp/std",
    "pallet-xcm-bridge-hub-router/std",
    "pallet-xcm/std",
    "parachain-info/std",
    "parachains-common/std",
    "parachains-runtimes-test-utils/std",
    "sp-io/std",
    "sp-runtime/std",
    "xcm-builder/std",
    "xcm-executor/std",
    "xcm-runtime-apis/std",
    "xcm/std",
]
try-runtime = [
    "assets-common/try-runtime",
    "cumulus-pallet-parachain-system/try-runtime",
    "cumulus-pallet-xcmp-queue/try-runtime",
    "frame-support/try-runtime",
    "frame-system/try-runtime",
    "pallet-asset-conversion/try-runtime",
    "pallet-assets/try-runtime",
    "pallet-balances/try-runtime",
    "pallet-collator-selection/try-runtime",
    "pallet-session/try-runtime",
    "pallet-timestamp/try-runtime",
    "pallet-xcm-bridge-hub-router/try-runtime",
    "pallet-xcm/try-runtime",
    "parachain-info/try-runtime",
    "parachains-common/try-runtime",
    "sp-runtime/try-runtime",
]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.parachains-runtimes-test-utils]
version = "28.0.0"
default-features = false

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

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

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

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

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

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

[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(build_opt_level, values("3"))',
    'cfg(build_profile, values("debug", "release"))',
    "cfg(enable_alloc_error_handler)",
    "cfg(fuzzing)",
    "cfg(ignore_flaky_test)",
    "cfg(substrate_runtime)",
]
