Files
pezkuwi-subxt/polkadot/xcm/xcm-builder/Cargo.toml
T
Squirrel be8e626806 Set clippy lints in workspace (requires rust 1.74) (#2390)
We currently use a bit of a hack in `.cargo/config` to make sure that
clippy isn't too annoying by specifying the list of lints.

There is now a stable way to define lints for a workspace. The only down
side is that every crate seems to have to opt into this so there's a
*few* files modified in this PR.

Dependencies:

- [x] PR that upgrades CI to use rust 1.74 is merged.

---------

Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
Co-authored-by: Branislav Kontur <bkontur@gmail.com>
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com>
2023-12-13 15:11:07 +01:00

74 lines
2.8 KiB
TOML

[package]
name = "staging-xcm-builder"
description = "Tools & types for building with XCM and its executor."
authors.workspace = true
edition.workspace = true
license.workspace = true
version = "1.0.0"
[lints]
workspace = true
[dependencies]
impl-trait-for-tuples = "0.2.1"
parity-scale-codec = { version = "3.6.1", default-features = false, features = ["derive"] }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
xcm = { package = "staging-xcm", path = "..", default-features = false }
xcm-executor = { package = "staging-xcm-executor", path = "../xcm-executor", default-features = false }
sp-std = { path = "../../../substrate/primitives/std", default-features = false }
sp-arithmetic = { path = "../../../substrate/primitives/arithmetic", default-features = false }
sp-io = { path = "../../../substrate/primitives/io", default-features = false }
sp-runtime = { path = "../../../substrate/primitives/runtime", default-features = false }
sp-weights = { path = "../../../substrate/primitives/weights", default-features = false }
frame-support = { path = "../../../substrate/frame/support", default-features = false }
frame-system = { path = "../../../substrate/frame/system", default-features = false }
pallet-transaction-payment = { path = "../../../substrate/frame/transaction-payment", default-features = false }
log = { version = "0.4.17", default-features = false }
# Polkadot dependencies
polkadot-parachain-primitives = { path = "../../parachain", default-features = false }
[dev-dependencies]
primitive-types = "0.12.1"
pallet-balances = { path = "../../../substrate/frame/balances" }
pallet-xcm = { path = "../pallet-xcm" }
pallet-salary = { path = "../../../substrate/frame/salary" }
pallet-assets = { path = "../../../substrate/frame/assets" }
primitives = { package = "polkadot-primitives", path = "../../primitives" }
polkadot-runtime-parachains = { path = "../../runtime/parachains" }
assert_matches = "1.5.0"
polkadot-test-runtime = { path = "../../runtime/test-runtime" }
[features]
default = ["std"]
runtime-benchmarks = [
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-assets/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-salary/runtime-benchmarks",
"pallet-xcm/runtime-benchmarks",
"polkadot-parachain-primitives/runtime-benchmarks",
"polkadot-runtime-parachains/runtime-benchmarks",
"polkadot-test-runtime/runtime-benchmarks",
"primitives/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
]
std = [
"frame-support/std",
"frame-system/std",
"log/std",
"pallet-transaction-payment/std",
"parity-scale-codec/std",
"polkadot-parachain-primitives/std",
"scale-info/std",
"sp-arithmetic/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"sp-weights/std",
"xcm-executor/std",
"xcm/std",
]