# 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 = "coretime-rococo-runtime"
version = "0.16.1"
authors = ["Parity Technologies <admin@parity.io>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rococo's Coretime parachain runtime"
homepage = "https://paritytech.github.io/polkadot-sdk/"
readme = false
license = "Apache-2.0"
repository = "https://github.com/paritytech/polkadot-sdk.git"

[features]
default = ["std"]
fast-runtime = ["rococo-runtime-constants/fast-runtime"]
metadata-hash = ["substrate-wasm-builder/metadata-hash"]
on-chain-release-build = ["metadata-hash"]
runtime-benchmarks = [
    "cumulus-pallet-parachain-system/runtime-benchmarks",
    "cumulus-pallet-session-benchmarking/runtime-benchmarks",
    "cumulus-pallet-weight-reclaim/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-balances/runtime-benchmarks",
    "pallet-broker/runtime-benchmarks",
    "pallet-collator-selection/runtime-benchmarks",
    "pallet-message-queue/runtime-benchmarks",
    "pallet-multisig/runtime-benchmarks",
    "pallet-proxy/runtime-benchmarks",
    "pallet-sudo/runtime-benchmarks",
    "pallet-timestamp/runtime-benchmarks",
    "pallet-transaction-payment/runtime-benchmarks",
    "pallet-utility/runtime-benchmarks",
    "pallet-xcm-benchmarks/runtime-benchmarks",
    "pallet-xcm/runtime-benchmarks",
    "parachains-common/runtime-benchmarks",
    "polkadot-parachain-primitives/runtime-benchmarks",
    "polkadot-runtime-common/runtime-benchmarks",
    "sp-runtime/runtime-benchmarks",
    "xcm-builder/runtime-benchmarks",
    "xcm-executor/runtime-benchmarks",
    "xcm-runtime-apis/runtime-benchmarks",
    "xcm/runtime-benchmarks",
]
std = [
    "codec/std",
    "cumulus-pallet-aura-ext/std",
    "cumulus-pallet-parachain-system/std",
    "cumulus-pallet-session-benchmarking/std",
    "cumulus-pallet-weight-reclaim/std",
    "cumulus-pallet-xcm/std",
    "cumulus-pallet-xcmp-queue/std",
    "cumulus-primitives-aura/std",
    "cumulus-primitives-core/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-aura/std",
    "pallet-authorship/std",
    "pallet-balances/std",
    "pallet-broker/std",
    "pallet-collator-selection/std",
    "pallet-message-queue/std",
    "pallet-multisig/std",
    "pallet-proxy/std",
    "pallet-session/std",
    "pallet-sudo/std",
    "pallet-timestamp/std",
    "pallet-transaction-payment-rpc-runtime-api/std",
    "pallet-transaction-payment/std",
    "pallet-utility/std",
    "pallet-xcm-benchmarks?/std",
    "pallet-xcm/std",
    "parachain-info/std",
    "parachains-common/std",
    "polkadot-parachain-primitives/std",
    "polkadot-runtime-common/std",
    "rococo-runtime-constants/std",
    "scale-info/std",
    "serde",
    "serde_json/std",
    "sp-api/std",
    "sp-block-builder/std",
    "sp-consensus-aura/std",
    "sp-core/std",
    "sp-genesis-builder/std",
    "sp-inherents/std",
    "sp-keyring/std",
    "sp-offchain/std",
    "sp-runtime/std",
    "sp-session/std",
    "sp-storage/std",
    "sp-transaction-pool/std",
    "sp-version/std",
    "substrate-wasm-builder",
    "testnet-parachains-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-weight-reclaim/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-aura/try-runtime",
    "pallet-authorship/try-runtime",
    "pallet-balances/try-runtime",
    "pallet-broker/try-runtime",
    "pallet-collator-selection/try-runtime",
    "pallet-message-queue/try-runtime",
    "pallet-multisig/try-runtime",
    "pallet-proxy/try-runtime",
    "pallet-session/try-runtime",
    "pallet-sudo/try-runtime",
    "pallet-timestamp/try-runtime",
    "pallet-transaction-payment/try-runtime",
    "pallet-utility/try-runtime",
    "pallet-xcm/try-runtime",
    "parachain-info/try-runtime",
    "parachains-common/try-runtime",
    "polkadot-runtime-common/try-runtime",
    "sp-runtime/try-runtime",
]

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

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

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

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

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

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

[dependencies.cumulus-pallet-weight-reclaim]
version = "0.3.0"
default-features = false

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.pallet-broker]
version = "0.20.0"
default-features = false

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

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

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

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

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

[dependencies.pallet-sudo]
version = "41.0.0"
default-features = false

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

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

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

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

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

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

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

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

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

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

[dependencies.rococo-runtime-constants]
version = "21.0.0"
default-features = false

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

[dependencies.serde]
version = "1.0.214"
features = ["derive"]
optional = true
default-features = true

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.testnet-parachains-constants]
version = "14.0.0"
features = ["rococo"]
default-features = false

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

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

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

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

[dev-dependencies]

[build-dependencies.substrate-wasm-builder]
version = "27.0.1"
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(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)",
]
