mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 14:37:57 +00:00
be8e626806
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>
69 lines
2.4 KiB
TOML
69 lines
2.4 KiB
TOML
[package]
|
|
name = "polkadot-test-malus"
|
|
description = "Misbehaving nodes for local testnets, system and Simnet tests."
|
|
version = "1.0.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
readme = "README.md"
|
|
publish = false
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[[bin]]
|
|
name = "malus"
|
|
path = "src/malus.rs"
|
|
|
|
# Use artifact dependencies once stable.
|
|
# See https://github.com/rust-lang/cargo/issues/9096.
|
|
[[bin]]
|
|
name = "polkadot-execute-worker"
|
|
path = "../../src/bin/execute-worker.rs"
|
|
# Prevent rustdoc error. Already documented from top-level Cargo.toml.
|
|
doc = false
|
|
[[bin]]
|
|
name = "polkadot-prepare-worker"
|
|
path = "../../src/bin/prepare-worker.rs"
|
|
# Prevent rustdoc error. Already documented from top-level Cargo.toml.
|
|
doc = false
|
|
|
|
[dependencies]
|
|
polkadot-cli = { path = "../../cli", features = ["malus", "rococo-native", "westend-native"] }
|
|
polkadot-node-subsystem = { path = "../subsystem" }
|
|
polkadot-node-subsystem-util = { path = "../subsystem-util" }
|
|
polkadot-node-subsystem-types = { path = "../subsystem-types" }
|
|
polkadot-node-core-dispute-coordinator = { path = "../core/dispute-coordinator" }
|
|
polkadot-node-core-candidate-validation = { path = "../core/candidate-validation" }
|
|
polkadot-node-core-backing = { path = "../core/backing" }
|
|
polkadot-node-primitives = { path = "../primitives" }
|
|
polkadot-primitives = { path = "../../primitives" }
|
|
color-eyre = { version = "0.6.1", default-features = false }
|
|
assert_matches = "1.5"
|
|
async-trait = "0.1.57"
|
|
sp-keystore = { path = "../../../substrate/primitives/keystore" }
|
|
sp-core = { path = "../../../substrate/primitives/core" }
|
|
clap = { version = "4.4.11", features = ["derive"] }
|
|
futures = "0.3.21"
|
|
futures-timer = "3.0.2"
|
|
gum = { package = "tracing-gum", path = "../gum" }
|
|
erasure = { package = "polkadot-erasure-coding", path = "../../erasure-coding" }
|
|
rand = "0.8.5"
|
|
|
|
# Required for worker binaries to build.
|
|
polkadot-node-core-pvf-common = { path = "../core/pvf/common" }
|
|
polkadot-node-core-pvf-execute-worker = { path = "../core/pvf/execute-worker" }
|
|
polkadot-node-core-pvf-prepare-worker = { path = "../core/pvf/prepare-worker" }
|
|
|
|
[dev-dependencies]
|
|
polkadot-node-subsystem-test-helpers = { path = "../subsystem-test-helpers" }
|
|
sp-core = { path = "../../../substrate/primitives/core" }
|
|
futures = { version = "0.3.21", features = ["thread-pool"] }
|
|
|
|
[build-dependencies]
|
|
substrate-build-script-utils = { path = "../../../substrate/utils/build-script-utils" }
|
|
|
|
[features]
|
|
default = []
|
|
fast-runtime = ["polkadot-cli/fast-runtime"]
|