# 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 = "rococo-runtime" version = "18.0.0" authors = ["Parity Technologies "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Rococo testnet Relay Chain runtime." readme = "README.md" license = "GPL-3.0-only" [lib] name = "rococo_runtime" path = "src/lib.rs" [dependencies.binary-merkle-tree] version = "15.0.1" default-features = false [dependencies.bitvec] version = "1.0.1" features = ["alloc"] default-features = false [dependencies.codec] version = "3.6.12" features = [ "derive", "max-encoded-len", ] default-features = false package = "parity-scale-codec" [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.0.0" features = ["tuples-96"] 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-rate] version = "17.0.0" default-features = false [dependencies.pallet-authority-discovery] version = "38.0.0" default-features = false [dependencies.pallet-authorship] version = "38.0.0" default-features = false [dependencies.pallet-babe] version = "38.0.0" default-features = false [dependencies.pallet-balances] version = "39.0.0" default-features = false [dependencies.pallet-beefy] version = "39.0.0" default-features = false [dependencies.pallet-beefy-mmr] version = "39.0.0" default-features = false [dependencies.pallet-bounties] version = "37.0.0" default-features = false [dependencies.pallet-child-bounties] version = "37.0.0" default-features = false [dependencies.pallet-collective] version = "38.0.0" default-features = false [dependencies.pallet-conviction-voting] version = "38.0.0" default-features = false [dependencies.pallet-democracy] version = "38.0.0" default-features = false [dependencies.pallet-elections-phragmen] version = "39.0.0" default-features = false [dependencies.pallet-grandpa] version = "38.0.0" default-features = false [dependencies.pallet-identity] version = "38.0.0" default-features = false [dependencies.pallet-indices] version = "38.0.0" default-features = false [dependencies.pallet-membership] version = "38.0.0" default-features = false [dependencies.pallet-message-queue] version = "41.0.0" default-features = false [dependencies.pallet-mmr] version = "38.0.0" default-features = false [dependencies.pallet-multisig] version = "38.0.0" default-features = false [dependencies.pallet-nis] version = "38.0.0" default-features = false [dependencies.pallet-offences] version = "37.0.0" default-features = false [dependencies.pallet-parameters] version = "0.9.0" default-features = false [dependencies.pallet-preimage] version = "38.0.0" default-features = false [dependencies.pallet-proxy] version = "38.0.0" default-features = false [dependencies.pallet-ranked-collective] version = "38.0.0" default-features = false [dependencies.pallet-recovery] version = "38.0.0" default-features = false [dependencies.pallet-referenda] version = "38.0.0" default-features = false [dependencies.pallet-root-testing] version = "14.0.0" default-features = false [dependencies.pallet-scheduler] version = "39.0.0" default-features = false [dependencies.pallet-session] version = "38.0.0" default-features = false [dependencies.pallet-society] version = "38.0.0" default-features = false [dependencies.pallet-staking] version = "38.0.0" default-features = false [dependencies.pallet-state-trie-migration] version = "40.0.0" default-features = false [dependencies.pallet-sudo] version = "38.0.0" default-features = false [dependencies.pallet-timestamp] version = "37.0.0" default-features = false [dependencies.pallet-tips] version = "37.0.0" default-features = false [dependencies.pallet-transaction-payment] version = "38.0.0" default-features = false [dependencies.pallet-transaction-payment-rpc-runtime-api] version = "38.0.0" default-features = false [dependencies.pallet-treasury] version = "37.0.0" default-features = false [dependencies.pallet-utility] version = "38.0.0" default-features = false [dependencies.pallet-vesting] version = "38.0.0" default-features = false [dependencies.pallet-whitelist] version = "37.0.0" default-features = false [dependencies.pallet-xcm] version = "17.0.0" default-features = false [dependencies.pallet-xcm-benchmarks] version = "17.0.0" optional = true default-features = false [dependencies.polkadot-parachain-primitives] version = "14.0.0" default-features = false [dependencies.polkadot-primitives] version = "16.0.0" default-features = false [dependencies.polkadot-runtime-common] version = "17.0.0" default-features = false [dependencies.polkadot-runtime-parachains] version = "17.0.0" default-features = false [dependencies.rococo-runtime-constants] version = "17.0.0" default-features = false [dependencies.scale-info] version = "2.11.1" features = ["derive"] default-features = false [dependencies.serde] version = "1.0.209" default-features = false [dependencies.serde_derive] version = "1.0.117" optional = true [dependencies.serde_json] version = "1.0.127" features = ["alloc"] default-features = false [dependencies.smallvec] version = "1.11.0" default-features = true [dependencies.sp-api] version = "34.0.0" default-features = false [dependencies.sp-arithmetic] version = "26.0.0" default-features = false [dependencies.sp-authority-discovery] version = "34.0.0" default-features = false [dependencies.sp-block-builder] version = "34.0.0" default-features = false [dependencies.sp-consensus-babe] version = "0.40.0" default-features = false [dependencies.sp-consensus-beefy] version = "22.1.0" default-features = false [dependencies.sp-consensus-grandpa] version = "21.0.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-io] version = "38.0.0" default-features = false [dependencies.sp-mmr-primitives] version = "34.1.0" default-features = false [dependencies.sp-offchain] version = "34.0.0" default-features = false [dependencies.sp-runtime] version = "39.0.1" default-features = false [dependencies.sp-session] version = "36.0.0" default-features = false [dependencies.sp-staking] version = "36.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.static_assertions] version = "1.1.0" default-features = true [dependencies.xcm] version = "14.2.0" default-features = false package = "staging-xcm" [dependencies.xcm-builder] version = "17.0.0" default-features = false package = "staging-xcm-builder" [dependencies.xcm-executor] version = "17.0.0" default-features = false package = "staging-xcm-executor" [dependencies.xcm-runtime-apis] version = "0.4.0" default-features = false [dev-dependencies.separator] version = "0.4.1" [dev-dependencies.serde_json] version = "1.0.127" default-features = true [dev-dependencies.tiny-keccak] version = "2.0.2" features = ["keccak"] [dev-dependencies.tokio] version = "1.37.0" features = ["macros"] default-features = true [build-dependencies.substrate-wasm-builder] version = "24.0.1" optional = true default-features = true [features] default = ["std"] fast-runtime = ["rococo-runtime-constants/fast-runtime"] metadata-hash = ["substrate-wasm-builder/metadata-hash"] no_std = [] on-chain-release-build = ["metadata-hash"] runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system-benchmarking/runtime-benchmarks", "frame-system/runtime-benchmarks", "pallet-asset-rate/runtime-benchmarks", "pallet-babe/runtime-benchmarks", "pallet-balances/runtime-benchmarks", "pallet-beefy-mmr/runtime-benchmarks", "pallet-bounties/runtime-benchmarks", "pallet-child-bounties/runtime-benchmarks", "pallet-collective/runtime-benchmarks", "pallet-conviction-voting/runtime-benchmarks", "pallet-democracy/runtime-benchmarks", "pallet-elections-phragmen/runtime-benchmarks", "pallet-grandpa/runtime-benchmarks", "pallet-identity/runtime-benchmarks", "pallet-indices/runtime-benchmarks", "pallet-membership/runtime-benchmarks", "pallet-message-queue/runtime-benchmarks", "pallet-mmr/runtime-benchmarks", "pallet-multisig/runtime-benchmarks", "pallet-nis/runtime-benchmarks", "pallet-offences/runtime-benchmarks", "pallet-parameters/runtime-benchmarks", "pallet-preimage/runtime-benchmarks", "pallet-proxy/runtime-benchmarks", "pallet-ranked-collective/runtime-benchmarks", "pallet-recovery/runtime-benchmarks", "pallet-referenda/runtime-benchmarks", "pallet-scheduler/runtime-benchmarks", "pallet-society/runtime-benchmarks", "pallet-staking/runtime-benchmarks", "pallet-state-trie-migration/runtime-benchmarks", "pallet-sudo/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks", "pallet-tips/runtime-benchmarks", "pallet-treasury/runtime-benchmarks", "pallet-utility/runtime-benchmarks", "pallet-vesting/runtime-benchmarks", "pallet-whitelist/runtime-benchmarks", "pallet-xcm-benchmarks/runtime-benchmarks", "pallet-xcm/runtime-benchmarks", "polkadot-parachain-primitives/runtime-benchmarks", "polkadot-primitives/runtime-benchmarks", "polkadot-runtime-common/runtime-benchmarks", "polkadot-runtime-parachains/runtime-benchmarks", "sp-runtime/runtime-benchmarks", "sp-staking/runtime-benchmarks", "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", "xcm-runtime-apis/runtime-benchmarks", ] runtime-metrics = [ "polkadot-runtime-parachains/runtime-metrics", "sp-io/with-tracing", ] std = [ "binary-merkle-tree/std", "bitvec/std", "codec/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-rate/std", "pallet-authority-discovery/std", "pallet-authorship/std", "pallet-babe/std", "pallet-balances/std", "pallet-beefy-mmr/std", "pallet-beefy/std", "pallet-bounties/std", "pallet-child-bounties/std", "pallet-collective/std", "pallet-conviction-voting/std", "pallet-democracy/std", "pallet-elections-phragmen/std", "pallet-grandpa/std", "pallet-identity/std", "pallet-indices/std", "pallet-membership/std", "pallet-message-queue/std", "pallet-mmr/std", "pallet-multisig/std", "pallet-nis/std", "pallet-offences/std", "pallet-parameters/std", "pallet-preimage/std", "pallet-proxy/std", "pallet-ranked-collective/std", "pallet-recovery/std", "pallet-referenda/std", "pallet-root-testing/std", "pallet-scheduler/std", "pallet-session/std", "pallet-society/std", "pallet-staking/std", "pallet-state-trie-migration/std", "pallet-sudo/std", "pallet-timestamp/std", "pallet-tips/std", "pallet-transaction-payment-rpc-runtime-api/std", "pallet-transaction-payment/std", "pallet-treasury/std", "pallet-utility/std", "pallet-vesting/std", "pallet-whitelist/std", "pallet-xcm-benchmarks?/std", "pallet-xcm/std", "polkadot-parachain-primitives/std", "polkadot-primitives/std", "polkadot-runtime-common/std", "polkadot-runtime-parachains/std", "rococo-runtime-constants/std", "scale-info/std", "serde/std", "serde_derive", "serde_json/std", "sp-api/std", "sp-arithmetic/std", "sp-authority-discovery/std", "sp-block-builder/std", "sp-consensus-babe/std", "sp-consensus-beefy/std", "sp-consensus-grandpa/std", "sp-core/std", "sp-genesis-builder/std", "sp-inherents/std", "sp-io/std", "sp-mmr-primitives/std", "sp-offchain/std", "sp-runtime/std", "sp-session/std", "sp-staking/std", "sp-storage/std", "sp-transaction-pool/std", "sp-version/std", "substrate-wasm-builder", "xcm-builder/std", "xcm-executor/std", "xcm-runtime-apis/std", "xcm/std", ] try-runtime = [ "frame-executive/try-runtime", "frame-support/try-runtime", "frame-system/try-runtime", "frame-try-runtime", "frame-try-runtime/try-runtime", "pallet-asset-rate/try-runtime", "pallet-authority-discovery/try-runtime", "pallet-authorship/try-runtime", "pallet-babe/try-runtime", "pallet-balances/try-runtime", "pallet-beefy-mmr/try-runtime", "pallet-beefy/try-runtime", "pallet-bounties/try-runtime", "pallet-child-bounties/try-runtime", "pallet-collective/try-runtime", "pallet-conviction-voting/try-runtime", "pallet-democracy/try-runtime", "pallet-elections-phragmen/try-runtime", "pallet-grandpa/try-runtime", "pallet-identity/try-runtime", "pallet-indices/try-runtime", "pallet-membership/try-runtime", "pallet-message-queue/try-runtime", "pallet-mmr/try-runtime", "pallet-multisig/try-runtime", "pallet-nis/try-runtime", "pallet-offences/try-runtime", "pallet-parameters/try-runtime", "pallet-preimage/try-runtime", "pallet-proxy/try-runtime", "pallet-ranked-collective/try-runtime", "pallet-recovery/try-runtime", "pallet-referenda/try-runtime", "pallet-root-testing/try-runtime", "pallet-scheduler/try-runtime", "pallet-session/try-runtime", "pallet-society/try-runtime", "pallet-staking/try-runtime", "pallet-state-trie-migration/try-runtime", "pallet-sudo/try-runtime", "pallet-timestamp/try-runtime", "pallet-tips/try-runtime", "pallet-transaction-payment/try-runtime", "pallet-treasury/try-runtime", "pallet-utility/try-runtime", "pallet-vesting/try-runtime", "pallet-whitelist/try-runtime", "pallet-xcm/try-runtime", "polkadot-runtime-common/try-runtime", "polkadot-runtime-parachains/try-runtime", "sp-runtime/try-runtime", ] [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)"]